bonding: Acquire correct locks in alb for promisc change
authorJay Vosburgh <fubar@us.ibm.com>
Thu, 18 Oct 2007 00:37:51 +0000 (17:37 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 24 Oct 2007 00:32:01 +0000 (20:32 -0400)
commitd0e81b7e2246a41d068ecaf15aac9de570816d63
tree27b1dac99c2ee47846bafab1a530cd6ffb2a0f03
parent6603a6f25e4bca922a7dfbf0bf03072d98850176
bonding: Acquire correct locks in alb for promisc change

Update ALB mode monitor to hold correct locks (RTNL and nothing
else) when calling dev_set_promiscuity.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/bonding/bond_alb.c