bonding: fix alb mode locking regression
authorJay Vosburgh <fubar@us.ibm.com>
Mon, 4 May 2009 09:03:37 +0000 (09:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2009 04:28:10 +0000 (21:28 -0700)
commit815bcc2719c12b6f5b511706e2d19728e07f0b02
tree85e56692bb5dd9af9d3bd9efdf8eac3b7b55f0d0
parent9f722c0978b04acba209f8ca1896ad05814bc3a3
bonding: fix alb mode locking regression

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>
drivers/net/bonding/bond_alb.c