summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/core.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2022-02-09 01:35:12 +0100
committerAlexei Starovoitov <ast@kernel.org>2022-02-10 17:48:30 -0800
commita5a358abbc392c7ad7b12a23c99e8602460b5804 (patch)
treed5171065058f9c555775fadd2f29835532daad57 /kernel/bpf/core.c
parent85fbd23303bcdc474ee2c76190ee59fa31e8f5f2 (diff)
downloadlinux-stable-a5a358abbc392c7ad7b12a23c99e8602460b5804.tar.gz
linux-stable-a5a358abbc392c7ad7b12a23c99e8602460b5804.tar.bz2
linux-stable-a5a358abbc392c7ad7b12a23c99e8602460b5804.zip
selftest/bpf: Check invalid length in test_xdp_update_frags
Update test_xdp_update_frags adding a test for a buffer size set to (MAX_SKB_FRAGS + 2) * PAGE_SIZE. The kernel is supposed to return -ENOMEM. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/3e4afa0ee4976854b2f0296998fe6754a80b62e5.1644366736.git.lorenzo@kernel.org
Diffstat (limited to 'kernel/bpf/core.c')
0 files changed, 0 insertions, 0 deletions