summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2023-09-25 20:53:00 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2023-09-29 17:06:21 +0200
commit5f405c0c0c4651b991c109cf9be33bb996af098e (patch)
tree748778ba879b88615c25f107e8eefaa78b91671f /scripts/gdb/linux/interrupts.py
parentda9e915eaf5dadb1963b7738cdfa42ed55212445 (diff)
bpf, sockmap: Add tests for MSG_F_PEEK
Test that we can read with MSG_F_PEEK and then still get correct number of available bytes through FIONREAD. The recv() (without PEEK) then returns the bytes as expected. The recv() always worked though because it was just the available byte reporting that was broke before latest fixes. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com> Link: https://lore.kernel.org/bpf/20230926035300.135096-4-john.fastabend@gmail.com
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions