From: nikolay@redhat.com Date: Mon, 2 Sep 2013 11:51:38 +0000 (+0200) Subject: bonding: simplify and fix peer notification X-Git-Tag: v3.12-rc1~132^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c8d23f78646b20bdbdad476d015b6594ac8ff1c;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed