vlan: convert VLAN devices to use ndo_fix_features()
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sun, 3 Apr 2011 05:49:12 +0000 (22:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Apr 2011 05:49:12 +0000 (22:49 -0700)
commit8a0427bb688eae86a8bb939b6a74e5aa00aa035a
treea2c8361f6eba3d97e2053e559c9f6b81693aa9aa
parent6cb6a27c45cec9184302c2e350b3593c64bc7f6c
vlan: convert VLAN devices to use ndo_fix_features()

Note: get_flags was actually broken, because it should return the
flags capped with vlan_features. This is now done implicitly by
limiting netdev->hw_features.

RX checksumming offload control is (and was) broken, as there was no way
before to say whether it's done for tagged packets.

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