linux/include/uapi
Jonas Gorski efc4515482 uapi glibc compat: fix outer guard of net device flags enum
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: 4a91cb61bb ("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>
2016-12-06 10:43:32 -05:00
..
asm-generic generic syscalls: kill cruft from removed pkey syscalls 2016-10-17 09:50:56 -07:00
drm
linux uapi glibc compat: fix outer guard of net device flags enum 2016-12-06 10:43:32 -05:00
misc
mtd
rdma qedr: Add support for QP verbs 2016-10-14 15:00:10 -04:00
scsi
sound Merge remote-tracking branch 'asoc/fix/topology-abi' into asoc-linus 2016-11-04 12:34:05 -06:00
video
xen
Kbuild