]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix device ref count bug
authorGreg Rose <gregory.v.rose@intel.com>
Thu, 13 Dec 2012 01:14:06 +0000 (01:14 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 1 Feb 2013 05:35:33 +0000 (21:35 -0800)
commit26eb7ecbd831f3811e1d7d05387fb444f66f6010
treeb90ce358797eccf55ce4afcc3ea5c8c012390f81
parent0271e363e3bb50b141dc4ff42d912cfb0c93275a
ixgbe: Fix device ref count bug

The device lookup neglected to do a pci_dev_put() to decrement the
device reference count.

Reported-by: Elena Gurevich <elena.gurevich@toganetworks.com>
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c