Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 4a91cb6 ("uapi glibc compat: fix compile errors when glibc net/if.h included before linux/if.h") Signed-off-by: Jonas Gorski <[email protected]> Reviewed-by: Mikko Rapeli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information