summaryrefslogtreecommitdiff
path: root/arch/x86/events/Makefile
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2023-05-30 17:30:41 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2023-05-31 14:08:28 +0300
commit60548b825b082cedf89b275c21c28b1e1d030e50 (patch)
tree714037c814933699d655f45f6f4d7f4742c5f469 /arch/x86/events/Makefile
parent9b68f30b68701e98abcec331a2cf3df972d910f8 (diff)
downloadlinux-60548b825b082cedf89b275c21c28b1e1d030e50.tar.xz
samples/bpf: xdp1 and xdp2 reduce XDPBUFSIZE to 60
Default samples/pktgen scripts send 60 byte packets as hardware adds 4-bytes FCS checksum, which fulfils minimum Ethernet 64 bytes frame size. XDP layer will not necessary have access to the 4-bytes FCS checksum. This leads to bpf_xdp_load_bytes() failing as it tries to copy 64-bytes from an XDP packet that only have 60-bytes available. Fixes: 772251742262 ("samples/bpf: fixup some tools to be able to support xdp multibuffer") Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Link: https://lore.kernel.org/bpf/168545704139.2996228.2516528552939485216.stgit@firesoul
Diffstat (limited to 'arch/x86/events/Makefile')
0 files changed, 0 insertions, 0 deletions