diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-05-06 23:22:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-12 18:40:56 -0400 |
commit | afe12cc86b0ba545a01ad8716539ab07ab6e9e89 (patch) | |
tree | edaa2912ae3acab49be8cfbfc75b689fdccd31f3 /include/linux/netdevice.h | |
parent | 6c60408e33aba6d1d7241bc9be3b8d1b39509291 (diff) |
net: introduce netdev_change_features()
It will be needed by bonding and other drivers changing vlan_features
after ndo_init callback.
As a bonus, this includes kernel-doc for netdev_update_features().
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 00d650c74800..1d9696a9ee4d 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -2565,6 +2565,7 @@ u32 netdev_increment_features(u32 all, u32 one, u32 mask); | |||
2565 | u32 netdev_fix_features(struct net_device *dev, u32 features); | 2565 | u32 netdev_fix_features(struct net_device *dev, u32 features); |
2566 | int __netdev_update_features(struct net_device *dev); | 2566 | int __netdev_update_features(struct net_device *dev); |
2567 | void netdev_update_features(struct net_device *dev); | 2567 | void netdev_update_features(struct net_device *dev); |
2568 | void netdev_change_features(struct net_device *dev); | ||
2568 | 2569 | ||
2569 | void netif_stacked_transfer_operstate(const struct net_device *rootdev, | 2570 | void netif_stacked_transfer_operstate(const struct net_device *rootdev, |
2570 | struct net_device *dev); | 2571 | struct net_device *dev); |