]> err.no Git - linux-2.6/commit
bonding: Don't hold lock when calling rtnl_unlock
authorJay Vosburgh <fubar@us.ibm.com>
Fri, 18 Jan 2008 00:25:03 +0000 (16:25 -0800)
committerJeff Garzik <jeff@garzik.org>
Fri, 18 Jan 2008 19:38:39 +0000 (14:38 -0500)
commit5655662dab4ef044be7efd155f2f5fef2e486545
treed4003635df3c8cba3554e023d831ff8d4e5828e5
parent027ea0416c955778ceca7ef82e48a1dd6b4617c9
bonding: Don't hold lock when calling rtnl_unlock

Change bond_mii_monitor to not hold any locks when calling rtnl_unlock,
as rtnl_unlock can sleep (when acquring another mutex in netdev_run_todo).

Bug reported by Makito SHIOKAWA <mshiokawa@miraclelinux.com>, who
included a different patch.

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