bonding: fix ASSERT_RTNL that produces spurious warnings
authorJay Vosburgh <fubar@us.ibm.com>
Fri, 18 Jan 2008 00:24:58 +0000 (16:24 -0800)
committerJeff Garzik <jeff@garzik.org>
Fri, 18 Jan 2008 19:38:38 +0000 (14:38 -0500)
commite0138a66e18c6755ee29ce13b3f1142af775dc5f
tree85a7443ff69676ed9bfe6f550e0f262172ab0750
parente934dd7862e7f613b2ce9730d548a0a70913c8f7
bonding: fix ASSERT_RTNL that produces spurious warnings

Move an ASSERT_RTNL down to where we should hold only RTNL;
the existing check produces spurious warnings because we hold additional
locks at _bh, tripping a debug warning in spin_lock_mutex().

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