diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2022-02-09 01:35:12 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-02-10 17:48:30 -0800 |
commit | a5a358abbc392c7ad7b12a23c99e8602460b5804 (patch) | |
tree | d5171065058f9c555775fadd2f29835532daad57 /kernel/bpf | |
parent | 85fbd23303bcdc474ee2c76190ee59fa31e8f5f2 (diff) |
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')
0 files changed, 0 insertions, 0 deletions