net: fix netdev_increment_features()
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Fri, 22 Apr 2011 06:31:16 +0000 (06:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Apr 2011 20:33:07 +0000 (13:33 -0700)
commit1742f183fc218798dab6fcf0ded25b6608fc0a48
tree47910c74f188e8dc9eb4fbefba01a1cf29de9965
parent96339d6c490a32de35fa798ca7922d13a8538ecd
net: fix netdev_increment_features()

Simplify and fix netdev_increment_features() to conform to what is
stated in netdevice.h comments about NETIF_F_ONE_FOR_ALL.
Include FCoE segmentation and VLAN-challedged flags in computation.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c