]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/bpf: Test FIONREAD on a sockmap socket without a verdict program
authorMattia Meleleo <mattia.meleleo@coralogix.com>
Wed, 8 Jul 2026 16:55:01 +0000 (18:55 +0200)
committerKumar Kartikeya Dwivedi <memxor@gmail.com>
Wed, 15 Jul 2026 09:10:14 +0000 (11:10 +0200)
commita42f05cc4c1d49e27bbc6f65415aa76274ef7736
treec75b615f723900f318e176c03ff260947a79ce65
parent04af4efde58a4a4ef4feab7360c46af9ec0b83a0
selftests/bpf: Test FIONREAD on a sockmap socket without a verdict program

Add a test validating that FIONREAD on a TCP socket in a sockmap
without a verdict program reports data pending in sk_receive_queue.

Signed-off-by: Mattia Meleleo <mattia.meleleo@coralogix.com>
Reviewed-by: Jiayuan Chen <jiayuan.chen@linux.dev>
Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Reviewed-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20260708-fionread-no-verdict-v3-2-b4ee31b3af53@coralogix.com
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c