From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: uapi/if_ether.h: prevent redefinition of struct ethhdr Date: Thu, 04 Jan 2018 14:31:03 -0500 (EST) Message-ID: <20180104.143103.1685045831952935199.davem@davemloft.net> References: <20180103221421.8273-1-hauke@hauke-m.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-api@vger.kernel.org, musl@lists.openwall.com, felix.janda@posteo.de, f.fainelli@gmail.com To: hauke@hauke-m.de Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:50038 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752945AbeADTbF (ORCPT ); Thu, 4 Jan 2018 14:31:05 -0500 In-Reply-To: <20180103221421.8273-1-hauke@hauke-m.de> Sender: netdev-owner@vger.kernel.org List-ID: From: Hauke Mehrtens Date: Wed, 3 Jan 2018 23:14:21 +0100 > Musl provides its own ethhdr struct definition. Add a guard to prevent > its definition of the appropriate musl header has already been included. > > glibc does not implement this header, but when glibc will implement this > they can just define __UAPI_DEF_ETHHDR 0 to make it work with the > kernel. > > Signed-off-by: Hauke Mehrtens Applied, thank you.