diff options
author | nikolay@redhat.com <nikolay@redhat.com> | 2013-02-18 07:59:03 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-19 05:51:08 (GMT) |
commit | e0809dbc47dea83eba7a9abb70e87470904d4372 (patch) | |
tree | 210276bba9031e3df771084b87aacf5bfe4e0462 /net/ipv4/tcp_minisocks.c | |
parent | b59340c2c0508d280f10658ad662fa56a39c74c2 (diff) | |
download | linux-e0809dbc47dea83eba7a9abb70e87470904d4372.tar.xz |
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/tcp_minisocks.c')
0 files changed, 0 insertions, 0 deletions