]> 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)
commit7e3d3f725c7d108153a3b6e00c09ff9f41e420a8
treeb90ce358797eccf55ce4afcc3ea5c8c012390f81
parent8b822b69caa2b1ff892f68ba95cb2ca57cddec27
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