Go to file
Emil Tantilov f7f37e7ff2 ixgbe: handle close/suspend race with netif_device_detach/present
When an interface is part of a namespace it is possible that
ixgbe_close() may be called while __ixgbe_shutdown() is running
which ends up in a double free WARN and/or a BUG in free_msi_irqs().

To handle this situation we extend the rtnl_lock() to protect the
call to netif_device_detach() and ixgbe_clear_interrupt_scheme()
in __ixgbe_shutdown() and check for netif_device_present()
to avoid clearing the interrupts second time in ixgbe_close();

Also extend the rtnl lock in ixgbe_resume() to netif_device_attach().

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2017-01-03 13:03:36 -08:00
arch x86/mce/AMD: Make the init code more robust 2016-12-26 17:30:24 -08:00
block
certs
crypto
Documentation af_packet: TX_RING support for TPACKET_V3 2017-01-03 11:00:27 -05:00
drivers ixgbe: handle close/suspend race with netif_device_detach/present 2017-01-03 13:03:36 -08:00
firmware
fs
include ipmr, ip6mr: add RTNH_F_UNRESOLVED flag to unresolved cache entries 2017-01-03 10:04:31 -05:00
init
ipc
kernel smp/hotplug: Undo tglxs brainfart 2016-12-26 17:30:24 -08:00
lib
mm
net tipc: reduce risk of user starvation during link congestion 2017-01-03 11:13:05 -05:00
samples
scripts
security
sound
tools tools: test case for TPACKET_V3/TX_RING support 2017-01-03 11:00:27 -05:00
usr
virt
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: Add bnxt_en maintainer info. 2016-12-29 14:37:23 -05:00
Makefile Linux 4.10-rc1 2016-12-25 16:13:08 -08:00
README

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.