]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2aa41fa024b51d49f8729943bc3eea60db1ccb0d
tree47910c74f188e8dc9eb4fbefba01a1cf29de9965
parent2d7af73d3f5066ca80ae66c7b5090049c7f962f7
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