summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authornikolay@redhat.com <nikolay@redhat.com>2013-09-02 13:51:38 +0200
committerDavid S. Miller <davem@davemloft.net>2013-09-04 00:27:24 -0400
commit6c8d23f78646b20bdbdad476d015b6594ac8ff1c (patch)
treef3bc75b01a5871be54c022a303e0eac8c791cc98 /drivers/net/dsa
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 <nikolay@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions