Re: [PATCH] uapi glibc compat: fix outer guard of net device flags enum

2016-12-06 Thread David Miller
From: Mikko Rapeli Date: Mon, 5 Dec 2016 19:34:02 +0200 > On Sat, Dec 03, 2016 at 05:31:45PM +0100, Jonas Gorski wrote: >> 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

Re: [PATCH] uapi glibc compat: fix outer guard of net device flags enum

2016-12-05 Thread Mikko Rapeli
On Sat, Dec 03, 2016 at 05:31:45PM +0100, Jonas Gorski wrote: > 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 part

[PATCH] uapi glibc compat: fix outer guard of net device flags enum

2016-12-03 Thread Jonas Gorski
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_U