• Jay Vosburgh's avatar
    bonding: fix rtnl locking merge error · 1466a219
    Jay Vosburgh authored
    	Looks like I incorrectly merged one of the rtnl lock changes,
    so that one function, bonding_show_active_slave, held rtnl but didn't
    release it, and another, bonding_store_active_slave, never held rtnl but
    did release it.
    
    	Fixed so the first function doesn't mess with rtnl, and the
    second correctly acquires and releases rtnl.
    
    	Bug reported by Moni Shoua <monis@voltaire.com>
    Signed-off-by: default avatarJay Vosburgh <fubar@us.ibm.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    1466a219
bond_sysfs.c 40.9 KB