[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160823.170943.937188622813462673.davem@davemloft.net>
Date: Tue, 23 Aug 2016 17:09:43 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: phil@....cc
Cc: netdev@...r.kernel.org
Subject: Re: [net-next PATCH] net: rtnetlink: Don't export empty
RTAX_FEATURES
From: Phil Sutter <phil@....cc>
Date: Tue, 23 Aug 2016 13:14:31 +0200
> Since the features bit field has bits for internal only use as well, it
> may happen that the kernel exports RTAX_FEATURES attribute with zero
> value which is pointless.
>
> Fix this by making sure the attribute is added only if the exported
> value is non-zero.
>
> Signed-off-by: Phil Sutter <phil@....cc>
Applied.
Powered by blists - more mailing lists