Go to file
Björn Töpel 3ab52af58f i40e: disallow changing the number of descriptors when AF_XDP is on
When an AF_XDP UMEM is attached to any of the Rx rings, we disallow a
user to change the number of descriptors via e.g. "ethtool -G IFNAME".

Otherwise, the size of the stash/reuse queue can grow unbounded, which
would result in OOM or leaking userspace buffers.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-09-25 13:16:19 -07:00
arch
block
certs
crypto
Documentation hv_netvsc: Update document for LRO/RSC support 2018-09-22 17:23:16 -07:00
drivers i40e: disallow changing the number of descriptors when AF_XDP is on 2018-09-25 13:16:19 -07:00
firmware
fs
include net: xsk: add a simple buffer reuse queue 2018-09-25 13:13:15 -07:00
init
ipc
kernel
lib netlink: add ethernet address policy types 2018-09-18 19:51:29 -07:00
LICENSES
mm
net net: xsk: add a simple buffer reuse queue 2018-09-25 13:13:15 -07:00
samples
scripts
security
sound
tools selftests/net: add ipv6 tests to ip_defrag selftest 2018-09-21 19:45:53 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 2018-09-18 19:27:40 -07:00
Makefile
README

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.
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.