diff options
author | Jonas Gorski <[email protected]> | 2016-12-03 17:31:45 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-12-06 10:43:32 -0500 |
commit | efc45154828ae4e49c6b46f59882bfef32697d44 (patch) | |
tree | 4b468a33920c67692b4278658d009fefc2c5ccda /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 6b3374cb1c0bd4699ace03d7e0dc14b532e4f52e (diff) |
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: 4a91cb61bb99 ("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]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions