]> git.baikalelectronics.ru Git - kernel.git/commit
net: Fix vlan_features propagation
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Fri, 6 May 2011 07:56:29 +0000 (07:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 May 2011 21:54:13 +0000 (17:54 -0400)
commit637eec7ae35f6e4ab29cb39af426e14cabfa7172
tree88b90e6fcec0947fc46eb178948ac78d1dc45134
parentbd8e51d5b9742ffbda3d318926cb8bb2bc48f7a8
net: Fix vlan_features propagation

Fix VLAN features propagation for devices which change vlan_features.
For this to work, driver needs to make sure netdev_features_changed()
gets called after the change (it is e.g. after ndo_set_features()).

Side effect is that a user might request features that will never
be enabled on a VLAN device.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_dev.c