bonding: convert to ndo_fix_features
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sat, 7 May 2011 03:22:17 +0000 (03:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 May 2011 22:45:59 +0000 (18:45 -0400)
commitb2a103e6d0afa432dff66b36473c5a55b6b0376c
tree9a048635ae5cf04e0b6216cb7a9065b6ae63ead3
parentafe12cc86b0ba545a01ad8716539ab07ab6e9e89
bonding: convert to ndo_fix_features

This should also fix updating of vlan_features and propagating changes to
VLAN devices on the bond.

Side effect: it allows user to force-disable some offloads on the bond
interface.

Note: NETIF_F_VLAN_CHALLENGED is managed by bond_fix_features() now.

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