diff options
author | Lijun Pan <[email protected]> | 2020-12-14 15:19:28 -0600 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-12-16 11:43:25 -0800 |
commit | 7061eb8cfa902daa1ec71d23b5cddb8b4391e72b (patch) | |
tree | d68f00aca813388a9fd8cdde8fe17410d1aeb640 /lib/test_overflow.c | |
parent | 322e53d1e2529ae9d501f5e0f20604a79b873aef (diff) |
net: core: introduce __netdev_notify_peers
There are some use cases for netdev_notify_peers in the context
when rtnl lock is already held. Introduce lockless version
of netdev_notify_peers call to save the extra code to call
call_netdevice_notifiers(NETDEV_NOTIFY_PEERS, dev);
call_netdevice_notifiers(NETDEV_RESEND_IGMP, dev);
After that, convert netdev_notify_peers to call the new helper.
Suggested-by: Nathan Lynch <[email protected]>
Signed-off-by: Lijun Pan <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions