diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-04-02 22:48:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-02 22:48:47 -0700 |
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) } u32 netdev_increment_features(u32 all, u32 one, u32 mask); u32 netdev_fix_features(struct net_device *dev, u32 features); +int __netdev_update_features(struct net_device *dev); void netdev_update_features(struct net_device *dev); void netif_stacked_transfer_operstate(const struct net_device *rootdev, |