Searched hist:f8edcd127b5fa2a82bec22b204b434dc363011b2 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | diff f8edcd127b5fa2a82bec22b204b434dc363011b2 Tue Aug 23 06:14:31 CDT 2016 Phil Sutter <phil@nwl.cc> net: rtnetlink: Don't export empty RTAX_FEATURES
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@nwl.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
|