summaryrefslogtreecommitdiffstats
path: root/net/core/pktgen.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2024-06-12 18:38:12 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2024-06-14 21:52:39 +0200
commit124e8c2b1b5d08a10d3a44ed082eaaf98a78c91f (patch)
tree294b18099b8d97eb02a0fb9dd45c59700fee1496 /net/core/pktgen.c
parentcdbde084d163835ef41cabb59be2292bb0421c51 (diff)
downloadlinux-stable-124e8c2b1b5d08a10d3a44ed082eaaf98a78c91f.tar.gz
linux-stable-124e8c2b1b5d08a10d3a44ed082eaaf98a78c91f.tar.bz2
linux-stable-124e8c2b1b5d08a10d3a44ed082eaaf98a78c91f.zip
bpf: Relax tuple len requirement for sk helpers.
__bpf_skc_lookup() safely handles incorrect values of tuple len, hence we can allow zero to be passed as tuple len. This patch alone doesn't make an observable verifier difference. It's a trivial improvement that might simplify bpf programs. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/bpf/20240613013815.953-2-alexei.starovoitov@gmail.com
Diffstat (limited to 'net/core/pktgen.c')
0 files changed, 0 insertions, 0 deletions