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)
commitb4fafbe97f9548f49b9338537c25a3db451b8508
treeb90ce358797eccf55ce4afcc3ea5c8c012390f81
parentd1d18b30f099fdfd688a34325a02a806ea86c5a2
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