]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix dangling ring pointers upon driver removal
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Tue, 3 Jun 2014 23:50:14 +0000 (23:50 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 20 Jun 2014 03:22:03 +0000 (20:22 -0700)
commit0043c76f1053ddc928cff27f77e52285bd7131f4
tree93df68864f6dd871c1fa393ceacf597bfbfc7f08
parent73f6be3e0567071e2657296c5d2bfe2ac1f37aba
i40e: Fix dangling ring pointers upon driver removal

When we resize the number of queues, the driver needs to disassociate any
qvectors that are no longer in use from the original rings, this way we
do not try to access the rings through these qvectors at the time of freeing
the qvectors.

Change-ID: Ie4eb9fc749f8e12348517fe1560f599c58f4a2a4
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c