diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-04-03 01:48:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-03 01:48:47 -0400 |
commit | 6cb6a27c45cec9184302c2e350b3593c64bc7f6c (patch) | |
tree | 1338b3838588ce4c28b71c4e611db51eea53e89b /include/linux/netdevice.h | |
parent | e9403c8437cf3721e7901c1a8fcb06bb642a7e55 (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.h | 1 |
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 | } |
2551 | u32 netdev_increment_features(u32 all, u32 one, u32 mask); | 2551 | u32 netdev_increment_features(u32 all, u32 one, u32 mask); |
2552 | u32 netdev_fix_features(struct net_device *dev, u32 features); | 2552 | u32 netdev_fix_features(struct net_device *dev, u32 features); |
2553 | int __netdev_update_features(struct net_device *dev); | ||
2553 | void netdev_update_features(struct net_device *dev); | 2554 | void netdev_update_features(struct net_device *dev); |
2554 | 2555 | ||
2555 | void netif_stacked_transfer_operstate(const struct net_device *rootdev, | 2556 | void netif_stacked_transfer_operstate(const struct net_device *rootdev, |