[OpenWrt-Devel] [PATCH] uapi/if_ether.h: prevent redefinition of struct ethhdr

Greg Kroah-Hartman gregkh at linuxfoundation.org
Thu Feb 14 07:45:01 EST 2019

On Thu, Feb 14, 2019 at 01:27:20PM +0100, Linus Walleij wrote:
> From: Hauke Mehrtens <hauke at hauke-m.de>
> commit 6926e041a8920c8ec27e4e155efa760aa01551fd upstream.
> 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 <hauke at hauke-m.de>
> Signed-off-by: David S. Miller <davem at davemloft.net>
> ---
> - This is upstream in v4.15
> - This should be applied for stable v4.14.y and v4.9.y

Sounds good, but do you also want to sign off on it?  :)


greg k-h

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list