Go to file
Felix Maurer 4df4c517ab xsk: Require XDP_UMEM_TX_METADATA_LEN to actuate tx_metadata_len
JIRA: https://issues.redhat.com/browse/RHEL-65205

commit d5e726d9143c5624135f5dc9e4069799adeef734
Author: Stanislav Fomichev <sdf@fomichev.me>
Date:   Fri Jul 12 18:52:51 2024 -0700

    xsk: Require XDP_UMEM_TX_METADATA_LEN to actuate tx_metadata_len
    
    Julian reports that commit 341ac980eab9 ("xsk: Support tx_metadata_len")
    can break existing use cases which don't zero-initialize xdp_umem_reg
    padding. Introduce new XDP_UMEM_TX_METADATA_LEN to make sure we
    interpret the padding as tx_metadata_len only when being explicitly
    asked.
    
    Fixes: 341ac980eab9 ("xsk: Support tx_metadata_len")
    Reported-by: Julian Schindel <mail@arctic-alpaca.de>
    Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
    Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
    Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
    Link: https://lore.kernel.org/bpf/20240713015253.121248-2-sdf@fomichev.me

Signed-off-by: Felix Maurer <fmaurer@redhat.com>
2024-11-06 19:29:48 +01:00
Documentation xsk: Require XDP_UMEM_TX_METADATA_LEN to actuate tx_metadata_len 2024-11-06 19:29:48 +01:00
LICENSES
arch bpf, arm64: Fix address emission with tag-based KASAN enabled 2024-11-06 19:29:48 +01:00
block scsi: block: Don't check REQ_ATOMIC for reads 2024-09-27 11:19:19 +08:00
certs integrity: PowerVM support for loading third party code signing keys 2024-02-05 19:05:32 +08:00
crypto Merge: crypto: tegra - Add Tegra Security Engine driver 2024-10-25 16:09:01 +00:00
drivers veth: Use tstats per-CPU traffic counters 2024-11-06 18:56:49 +01:00
fs Merge: xfs: XFS update #1 for RHEL9.6 2024-11-06 08:27:23 +00:00
include xsk: Require XDP_UMEM_TX_METADATA_LEN to actuate tx_metadata_len 2024-11-06 19:29:48 +01:00
init Merge: BPF 6.9 rebase 2024-10-30 07:25:08 +00:00
io_uring io_uring/cmd: fix tw <-> issue_flags conversion 2024-09-27 11:19:16 +08:00
ipc mm: Re-introduce vm_flags to do_mmap() 2024-10-01 11:17:00 -04:00
kernel Merge: x86 confidential computing updates for RHEL 9.6 2024-11-05 11:43:04 +00:00
lib Merge: fprobe: backport prerequisites for BPF session probes 2024-11-05 11:34:58 +00:00
mm Merge: fix page mapping if vm_area_alloc_pages() with high order fallback to order 0 2024-11-01 08:08:13 +00:00
net xsk: Require XDP_UMEM_TX_METADATA_LEN to actuate tx_metadata_len 2024-11-06 19:29:48 +01:00
redhat [redhat] kernel-5.14.0-527.el9 2024-11-06 08:36:08 +00:00
samples Merge: fprobe: backport prerequisites for BPF session probes 2024-11-05 11:34:58 +00:00
scripts scripts/bpf_doc: Use silent mode when exec make cmd 2024-10-15 10:49:16 +02:00
security Merge: BPF 6.9 rebase 2024-10-30 07:25:08 +00:00
sound Merge: CNB96: timekeeping: add clocksource ID and infrastructure for converting to/from a base clock 2024-11-05 11:41:13 +00:00
tools Merge: Add a test for execute-only memory 2024-11-01 08:28:37 +00:00
usr kexec.h: add linux/kexec.h to UAPI compile-test coverage 2024-05-15 13:58:51 +08:00
virt kvm: explicitly set FOLL_HONOR_NUMA_FAULT in hva_to_pfn_slow() 2024-10-01 11:20:48 -04:00
.clang-format printk: Prepare for SRCU console list protection 2024-05-09 11:25:16 -04:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore redhat: rhdocs: delete .get_maintainer.conf 2024-06-06 09:36:57 -04:00
.gitlab-ci.yml gitlab-ci: provide consistent kcidb_tree_name 2024-10-29 15:17:07 +01:00
.mailmap
COPYING
CREDITS MAINTAINERS: Drop Gustavo Pimentel as PCI DWC Maintainer 2024-05-13 15:56:48 -06:00
Kbuild
Kconfig
Kconfig.redhat redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option 2024-01-12 14:27:16 +01:00
MAINTAINERS Merge: USB/TBT code rebase of supported drivers to upstream v6.10 2024-11-06 08:32:22 +00:00
Makefile Merge: Update MM Selftests for 9.5 2024-08-21 12:51:18 +00:00
Makefile.rhelver [redhat] kernel-5.14.0-527.el9 2024-11-06 08:36:08 +00:00
README
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.

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.