diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-04-03 05:48:47 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-03 05:48:47 (GMT) |
commit | 6cb6a27c45cec9184302c2e350b3593c64bc7f6c (patch) | |
tree | 1338b3838588ce4c28b71c4e611db51eea53e89b /include/linux/netdevice.h | |
parent | e9403c8437cf3721e7901c1a8fcb06bb642a7e55 (diff) | |
download | linux-fsl-qoriq-6cb6a27c45cec9184302c2e350b3593c64bc7f6c.tar.xz |
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 5eeb2cd..423a544 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, |