aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2013-09-02 13:51:38 +0200
committerDavid S. Miller <[email protected]>2013-09-04 00:27:24 -0400
commit6c8d23f78646b20bdbdad476d015b6594ac8ff1c (patch)
treef3bc75b01a5871be54c022a303e0eac8c791cc98 /net/lapb/lapb_iface.c
parentf7c6be404d8fa52c54ff931390aab01e5c7654d6 (diff)
bonding: simplify and fix peer notification
This patch aims to remove a use of the bond->lock for mutual exclusion which will later allow easier migration to RCU of the users of this functionality. We use RTNL as a synchronizing mechanism since it's always held when send_peer_notif is set, and when it is decremented from the notifier function. We can also drop some locking, and fix the leakage of the send_peer_notif counter. Signed-off-by: Nikolay Aleksandrov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions