xen-netback: don't populate the hash cache on XenBus disconnect
Igor Druzhinin authored
Occasionally, during the disconnection procedure on XenBus which
includes hash cache deinitialization there might be some packets
still in-flight on other processors. Handling of these packets includes
hashing and hash cache population that finally results in hash cache
data structure corruption.

In order to avoid this we prevent hashing of those packets if there
are no queues initialized. In that case RCU protection of queues guards
the hash cache as well.
Signed-off-by: default avatarIgor Druzhinin <igor.druzhinin@citrix.com>
Reviewed-by: default avatarPaul Durrant <paul.durrant@citrix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
a2288d4e
Name Last commit Last update
Documentation Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
LICENSES Merge tag 'docs-4.20' of git://git.lwn.net/linux
arch Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
block Merge tag 'for-linus-20190215' of git://git.kernel.dk/linux-block
certs kbuild: remove redundant target cleaning on failure
crypto net: crypto set sk to NULL when af_alg_release.
drivers xen-netback: don't populate the hash cache on XenBus disconnect
firmware kbuild: change filechk to surround the given command with { }
fs Merge tag 'ceph-for-5.0-rc8' of git://github.com/ceph/ceph-client
include net: dev: Use unsigned integer as an argument to left-shift
init revert "initramfs: cleanup incomplete rootfs"
ipc ipc: IPCMNI limit check for semmni
kernel Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
lib Merge branch 'fixes-v5.1-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
mm mm, memory_hotplug: fix off-by-one in is_pageblock_removable
net sctp: chunk.c: correct format string for size_t in printk
samples samples: mei: use /dev/mei0 instead of /dev/mei
scripts kallsyms: Handle too long symbols in kallsyms.c
security Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
sound Merge tag 'sound-5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
tools selftests: pmtu: add explicit tests for PMTU exceptions cleanup
usr user/Makefile: Fix typo and capitalization in comment section
virt Merge tag 'kvm-arm-fixes-for-5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into kvm-master
.clang-format clang-format: Update .clang-format with the latest for_each macro list
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore kbuild: Add support for DT binding schema checks
.mailmap Merge tag 'mips_fixes_4.21_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
COPYING COPYING: use the new text with points to the license files
CREDITS CREDITS/MAINTAINERS: Retire parisc-linux.org email domain
Kbuild kbuild: use assignment instead of define ... endef for filechk_* rules
Kconfig kconfig: move the "Executable file formats" menu to fs/Kconfig.binfmt
MAINTAINERS Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Makefile Linux 5.0-rc7
README Drop all 00-INDEX files from Documentation/
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

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.