From: nikolay@redhat.com Date: Mon, 18 Feb 2013 07:59:03 +0000 (+0000) Subject: bonding: Fix initialize after use for 3ad machine state spinlock X-Git-Tag: v3.9-rc1~139^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0809dbc47dea83eba7a9abb70e87470904d4372;p=pandora-kernel.git bonding: Fix initialize after use for 3ad machine state spinlock The 3ad machine state spinlock can be used before it is inititialized while doing bond_enslave() (and the port is being initialized) since port->slave is set before the lock is prepared, thus causing soft lock-ups and a multitude of other nasty bugs. [ Rename __initialize_port_locks() variable name to 'slave' -DaveM ] Signed-off-by: Nikolay Aleksandrov Signed-off-by: David S. Miller --- Reading git-diff-tree failed