diff options
author | nikolay@redhat.com <nikolay@redhat.com> | 2013-02-18 08:59:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-19 06:51:08 +0100 |
commit | e0809dbc47dea83eba7a9abb70e87470904d4372 (patch) | |
tree | 210276bba9031e3df771084b87aacf5bfe4e0462 /net/ipv4 | |
parent | bonding: Fix race condition between bond_enslave() and bond_3ad_update_lacp_r... (diff) | |
download | linux-e0809dbc47dea83eba7a9abb70e87470904d4372.tar.xz linux-e0809dbc47dea83eba7a9abb70e87470904d4372.zip |
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 <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions