> From: [email protected] [mailto:[email protected]] > On Behalf Of Jia-Ju Bai > Sent: Sunday, August 02, 2015 8:36 PM > To: Kirsher, Jeffrey T; Brandeburg, Jesse > Cc: [email protected]; [email protected]; linux- > [email protected]; Jia-Ju Bai > Subject: [PATCH] igb: Fix a deadlock in igb_sriov_reinit > > When igb_init_interrupt_scheme in igb_sriov_reinit is failed, the lock > acquired by rtnl_lock() is not released, which causes a deadlock. > This patch adds rtnl_unlock() in error handling to fix it. > > Signed-off-by: Jia-Ju Bai <[email protected]> > --- > drivers/net/ethernet/intel/igb/igb_main.c | 1 + > 1 file changed, 1 insertion(+)
Tested-by: Aaron Brown <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

