summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/e1000e/netdev.c
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@163.com>2015-08-03 11:36:26 +0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-08-18 14:06:05 -0700
commit3eb14ea8d9584e96680729c2c7a9129bafa13a39 (patch)
treea13da4fc1004d5503b3e9c71b736f259deb0ee75 /drivers/net/ethernet/intel/e1000e/netdev.c
parent5e5d49422dfb035ca9e280cd61d434095c151272 (diff)
downloadlinux-3eb14ea8d9584e96680729c2c7a9129bafa13a39.tar.bz2
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 <baijiaju1990@163.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/netdev.c')
0 files changed, 0 insertions, 0 deletions