]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bonding: fix alb mode locking regression
authorJay Vosburgh <fubar@us.ibm.com>
Tue, 26 May 2009 22:29:00 +0000 (15:29 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Jun 2009 16:39:55 +0000 (09:39 -0700)
commit37fec7992d53fb59d005de9c3ffb860d9d52af18
treeaac62d984c2286a92dd3af90dce5258e106141ff
parentbb280235b350509a284469c2bab036c796a23b12
bonding: fix alb mode locking regression

[ Upstream commit 815bcc2719c12b6f5b511706e2d19728e07f0b02 ]

Fix locking issue in alb MAC address management; removed
incorrect locking and replaced with correct locking.  This bug was
introduced in commit 059fe7a578fba5bbb0fdc0365bfcf6218fa25eb0
("bonding: Convert locks to _bh, rework alb locking for new locking")

Bug reported by Paul Smith <paul@mad-scientist.net>, who also
tested the fix.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/bonding/bond_alb.c