summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtd_blkdevs.c
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2015-06-19 17:56:30 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-06-26 11:51:31 +0200
commit67c818a1d58c7897b8a6f531684516f9c236fe1b (patch)
tree49083ecd685152bd7774a8ba95d155ac076997ad /drivers/mtd/mtd_blkdevs.c
parente1000e: i219 - k1 workaround for LPT is not required for SPT (diff)
downloadlinux-67c818a1d58c7897b8a6f531684516f9c236fe1b.tar.xz
linux-67c818a1d58c7897b8a6f531684516f9c236fe1b.zip
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>
Diffstat (limited to 'drivers/mtd/mtd_blkdevs.c')
0 files changed, 0 insertions, 0 deletions