Re: [PATCH] uapi/if_ether.h: prevent redefinition of struct ethhdr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 14, 2019 at 01:27:20PM +0100, Linus Walleij wrote:
> From: Hauke Mehrtens <hauke@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
> ---
> - 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?  :)

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux