From: nikolay@redhat.com Date: Sat, 18 May 2013 01:18:28 +0000 (+0000) Subject: bonding: fix set mode race conditions X-Git-Tag: v3.10-rc3~18^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea6836dd7ef9cfbed5dce421190009f9eed00b7e;p=pandora-kernel.git bonding: fix set mode race conditions Changing the mode without any locking can result in multiple races (e.g. upping a bond, enslaving/releasing). Depending on which race is hit the impact can vary from incosistent bond state to kernel crash. Use RTNL to synchronize the mode setting with the dangerous races. Signed-off-by: Nikolay Aleksandrov Signed-off-by: David S. Miller --- Reading git-diff-tree failed