diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2020-12-16 11:43:52 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-16 11:44:48 -0800 |
| commit | 023cae857b347b6f5577eebade21a843f3621f85 (patch) | |
| tree | dad6c05bbe3b456011d2088eeec8bf716f3f6ee0 /include/linux | |
| parent | 322e53d1e2529ae9d501f5e0f20604a79b873aef (diff) | |
| parent | 935d8a0a43e3f928e3243ae22bc53cd7a014d515 (diff) | |
Merge branch 'locked-version-of-netdev_notify_peers'
Lijun Pan says:
====================
add a locked version of netdev_notify_peers
This series introduce the lockless version of netdev_notify_peers
and then apply it to the relevant drivers.
In v1, a more appropriate name __netdev_notify_peers is used;
netdev_notify_peers is converted to call the new helper.
In v2, patch 3 calls the new helper where notify variable used
to be set true.
====================
Link: https://lore.kernel.org/r/20201214211930.80778-1-ljp@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
| -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 7bf167993c05..259be67644e3 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -4547,6 +4547,7 @@ void __dev_set_rx_mode(struct net_device *dev); int dev_set_promiscuity(struct net_device *dev, int inc); int dev_set_allmulti(struct net_device *dev, int inc); void netdev_state_change(struct net_device *dev); +void __netdev_notify_peers(struct net_device *dev); void netdev_notify_peers(struct net_device *dev); void netdev_features_change(struct net_device *dev); /* Load a device via the kmod */ |
