ixgbe: balance free_irq calls with request_irq calls
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 15 Feb 2011 02:12:05 +0000 (02:12 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 3 Mar 2011 10:55:56 +0000 (02:55 -0800)
commit894ff7cf0e0cf7596f9b0d3c30e32c87f8df2784
treeb8d31b54358537abbe4c1325037969097f9fc74b
parentdbf893ee85369debaa05b3c222a40c8ac5273a06
ixgbe: balance free_irq calls with request_irq calls

We were incorrectly freeing IRQs that we had not requested.  This change
corrects that by making certain we only free q_vectors that we have
requested IRQs for.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_main.c