diff options
| author | 2013-02-18 07:59:03 +0000 | |
|---|---|---|
| committer | 2013-02-19 00:51:08 -0500 | |
| commit | e0809dbc47dea83eba7a9abb70e87470904d4372 (patch) | |
| tree | 210276bba9031e3df771084b87aacf5bfe4e0462 /include/uapi/linux/errqueue.h | |
| parent | bonding: Fix race condition between bond_enslave() and bond_3ad_update_lacp_rate() (diff) | |
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 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
