android_kernel_samsung_a7y1.../include/uapi
Jonas Gorski 8cd110a2a9 uapi glibc compat: fix outer guard of net device flags enum
[ Upstream commit efc45154828ae4e49c6b46f59882bfef32697d44 ]

Fix a wrong condition preventing the higher net device flags
IFF_LOWER_UP etc to be defined if net/if.h is included before
linux/if.h.

The comment makes it clear the intention was to allow partial
definition with either parts.

This fixes compilation of userspace programs trying to use
IFF_LOWER_UP, IFF_DORMANT or IFF_ECHO.

Fixes: 4a91cb61bb99 ("uapi glibc compat: fix compile errors when glibc net/if.h included before linux/if.h")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 14:23:48 +02:00
..
asm-generic A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
drm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
linux uapi glibc compat: fix outer guard of net device flags enum 2020-04-07 14:23:48 +02:00
misc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mtd A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rdma A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
scsi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sound A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
video A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xen A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kbuild A750FXXU4CTBC 2020-03-27 21:51:54 +05:30