Commits
![Phil Sutter](https://secure.gravatar.com/avatar/c01b5b0f1fc8b0eaea74860cf79d5c61.jpg?s=96&d=mm)
Phil Sutter committed f8edcd127b5
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>