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)
commitf0a619ccfb8a2ec8ff083a02299cfd076c362b27
tree88b90e6fcec0947fc46eb178948ac78d1dc45134
parent864b5418ebc16893cfd27ff3cda254eff0f56d6f
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