aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-04-03 01:48:47 -0400
committerDavid S. Miller <davem@davemloft.net>2011-04-03 01:48:47 -0400
commit6cb6a27c45cec9184302c2e350b3593c64bc7f6c (patch)
tree1338b3838588ce4c28b71c4e611db51eea53e89b /include/linux/netdevice.h
parente9403c8437cf3721e7901c1a8fcb06bb642a7e55 (diff)
net: Call netdev_features_change() from netdev_update_features()
Issue FEAT_CHANGE notification when features are changed by netdev_update_features(). This will allow changes made by extra constraints on e.g. MTU change to be properly propagated like changes via ethtool. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 5eeb2cd3631c..423a5447d2ed 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -2550,6 +2550,7 @@ static inline u32 netdev_get_wanted_features(struct net_device *dev)
2550} 2550}
2551u32 netdev_increment_features(u32 all, u32 one, u32 mask); 2551u32 netdev_increment_features(u32 all, u32 one, u32 mask);
2552u32 netdev_fix_features(struct net_device *dev, u32 features); 2552u32 netdev_fix_features(struct net_device *dev, u32 features);
2553int __netdev_update_features(struct net_device *dev);
2553void netdev_update_features(struct net_device *dev); 2554void netdev_update_features(struct net_device *dev);
2554 2555
2555void netif_stacked_transfer_operstate(const struct net_device *rootdev, 2556void netif_stacked_transfer_operstate(const struct net_device *rootdev,