diff options
author | nikolay@redhat.com <nikolay@redhat.com> | 2013-09-02 15:51:38 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-04 08:27:24 +0400 |
commit | 6c8d23f78646b20bdbdad476d015b6594ac8ff1c (patch) | |
tree | f3bc75b01a5871be54c022a303e0eac8c791cc98 /Documentation/make | |
parent | f7c6be404d8fa52c54ff931390aab01e5c7654d6 (diff) | |
download | linux-6c8d23f78646b20bdbdad476d015b6594ac8ff1c.tar.xz |
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 'Documentation/make')
0 files changed, 0 insertions, 0 deletions