diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2024-02-17 19:41:52 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2024-02-19 12:28:15 +0100 |
commit | 5c138a8a4abe152fcbef1ed40a6a4b5727b2991b (patch) | |
tree | c9aee41673c07d98b333e9ab9e87d7b0535bb9bd /net/core/fib_rules.c | |
parent | 5f2ae606cb5a90839a9be9d22388c4200f820e75 (diff) | |
download | linux-5c138a8a4abe152fcbef1ed40a6a4b5727b2991b.tar.gz linux-5c138a8a4abe152fcbef1ed40a6a4b5727b2991b.tar.bz2 linux-5c138a8a4abe152fcbef1ed40a6a4b5727b2991b.zip |
selftests/bpf: Add negtive test cases for task iter
Incorporate a test case to assess the handling of invalid flags or
task__nullable parameters passed to bpf_iter_task_new(). Prior to the
preceding commit, this scenario could potentially trigger a kernel panic.
However, with the previous commit, this test case is expected to function
correctly.
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20240217114152.1623-3-laoar.shao@gmail.com
Diffstat (limited to 'net/core/fib_rules.c')
0 files changed, 0 insertions, 0 deletions