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

Linus Walleij linus.walleij at linaro.org
Thu Feb 14 08:13:52 EST 2019


On Thu, Feb 14, 2019 at 1:45 PM Greg Kroah-Hartman
<gregkh at linuxfoundation.org> wrote:
> 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?  :)

Oh deliver path, yeah, so many details :D

OK I respin the whole lot with signed-off-by's.

Yours,
Linus Walleij

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list