mirror_ubuntu-kernels/drivers/net/ethernet/intel/i40evf
Mitch Williams 67c818a1d5 i40evf: fix panic during MTU change
Down was requesting queue disables, but then exited immediately
without waiting for the queues to actually disable.  This could
allow any function called after i40evf_down to run immediately,
including i40evf_up, and causes a memory leak.

Removing the whole reinit_locked function is the best way
to go about this, and allows for the driver to handle the
state changes by requesting reset from the periodic timer.

Also, add a couple WARN_ONs in slow path to help us recognize
if we re-introduce this issue or missed any cases.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-06-26 02:51:31 -07:00
..
i40e_adminq_cmd.h i40e: AQ API updates for new commands 2015-01-16 05:20:37 -08:00
i40e_adminq.c i40e: let firmware catch the NVM busy error 2014-12-09 12:57:02 -08:00
i40e_adminq.h i40e/i40evf: print FW build number in version string 2015-03-03 01:07:24 -08:00
i40e_alloc.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_common.c i40e/i40evf: implement KR2 support 2015-03-27 00:12:09 -07:00
i40e_hmc.h i40e/i40evf: Force a shifted '1' to be unsigned 2014-07-02 19:02:19 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_osdep.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_prototype.h i40e/i40evf: Clean up some formatting and other things 2015-03-05 06:39:42 -08:00
i40e_register.h i40e/i40evf: i40e_register.h updates 2015-02-23 17:11:57 -08:00
i40e_status.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_txrx.c i40evf: fix panic during MTU change 2015-06-26 02:51:31 -07:00
i40e_txrx.h i40e/i40evf: remove time_stamp member 2015-05-28 03:46:03 -07:00
i40e_type.h i40e/i40evf: Add stats to count Tunnel ATR hits 2015-05-28 03:38:00 -07:00
i40e_virtchnl.h i40e/i40evf: restrict VC opcodes to their initial values 2015-02-23 17:11:56 -08:00
i40evf_ethtool.c i40evf: fix panic during MTU change 2015-06-26 02:51:31 -07:00
i40evf_main.c i40evf: fix panic during MTU change 2015-06-26 02:51:31 -07:00
i40evf_virtchnl.c i40evf: remove aq_pending 2015-04-14 17:20:39 -07:00
i40evf.h i40evf: fix panic during MTU change 2015-06-26 02:51:31 -07:00
Makefile i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00