summaryrefslogtreecommitdiff
path: root/tools/lib
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2022-07-23 20:17:10 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2022-07-26 17:26:19 +0300
commitbd82ea52f0ee2890b698155a6d7bf9ea5bd8930d (patch)
tree2acfc1a26de8c172b53b937d933387b514d596ec /tools/lib
parentbbd52178e249fe893ef4a9b87cde5b6c473b0a7c (diff)
downloadlinux-bd82ea52f0ee2890b698155a6d7bf9ea5bd8930d.tar.xz
bpf, devmap: Compute proper xdp_frame len redirecting frames
Even if it is currently forbidden to XDP_REDIRECT a multi-frag xdp_frame into a devmap, compute proper xdp_frame length in __xdp_enqueue and is_valid_dst routines running xdp_get_frame_len(). Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/894d99c01139e921bdb6868158ff8e67f661c072.1658596075.git.lorenzo@kernel.org
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions