aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorEduard Zingerman <[email protected]>2024-04-24 01:28:20 +0000
committerAlexei Starovoitov <[email protected]>2024-04-25 19:42:43 +0000
commit980ca8ceeae69ddf362870ea9183f389ae26324a (patch)
treeb66c8c8eacef1fd3ce9d0dd4afa3f04643706a6b /net/ipv4/tcp_input.c
parentselftests/bpf: do not pass NULL for non-nullable params in dummy_st_ops (diff)
downloadkernel-980ca8ceeae69ddf362870ea9183f389ae26324a.tar.gz
kernel-980ca8ceeae69ddf362870ea9183f389ae26324a.zip
bpf: check bpf_dummy_struct_ops program params for test runs
When doing BPF_PROG_TEST_RUN for bpf_dummy_struct_ops programs, reject execution when NULL is passed for non-nullable params. For programs with non-nullable params verifier assumes that such params are never NULL and thus might optimize out NULL checks. Suggested-by: Kui-Feng Lee <[email protected]> Signed-off-by: Eduard Zingerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions