]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "selftests/bpf: dummy_st_ops should reject 0 for non-nullable params"
authorShung-Hsi Yu <shung-hsi.yu@suse.com>
Thu, 17 Jul 2025 08:09:25 +0000 (16:09 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2025 06:53:22 +0000 (08:53 +0200)
commit056b65a02edc6321503fb47f191432df8a6fc80c
tree8b7dcbcf040d28127efe2f606b2e77c9f54acadc
parentc148b7282808922b217c442d07d2ccfecbb5210c
Revert "selftests/bpf: dummy_st_ops should reject 0 for non-nullable params"

This reverts commit e7d193073a223663612301c659e53795b991ca89 which is
commit 6a2d30d3c5bf9f088dcfd5f3746b04d84f2fab83 upstream.

The dummy_st_ops/dummy_sleepable_reject_null test requires commit 980ca8ceeae6
("bpf: check bpf_dummy_struct_ops program params for test runs"), which in turn
depends on "Support PTR_MAYBE_NULL for struct_ops arguments" series (see link
below), neither are backported to stable 6.6.

Link: https://lore.kernel.org/all/20240209023750.1153905-1-thinker.li@gmail.com/
Signed-off-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/bpf/prog_tests/dummy_st_ops.c