mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
[BRIDGE]: features change notification
Resend of earlier patch (no changes) from Catalin used to provide device feature change notification. Signed-off-by: Catalin BOIE <catab at umbrella.ro> Acked-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
45b30105e7
commit
d8a33ac435
4 changed files with 21 additions and 1 deletions
|
@ -760,6 +760,18 @@ int dev_change_name(struct net_device *dev, char *newname)
|
|||
return err;
|
||||
}
|
||||
|
||||
/**
|
||||
* netdev_features_change - device changes fatures
|
||||
* @dev: device to cause notification
|
||||
*
|
||||
* Called to indicate a device has changed features.
|
||||
*/
|
||||
void netdev_features_change(struct net_device *dev)
|
||||
{
|
||||
notifier_call_chain(&netdev_chain, NETDEV_FEAT_CHANGE, dev);
|
||||
}
|
||||
EXPORT_SYMBOL(netdev_features_change);
|
||||
|
||||
/**
|
||||
* netdev_state_change - device changes state
|
||||
* @dev: device to cause notification
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue