aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2024-12-13 03:40:55 +0000
committerDaniel Borkmann <[email protected]>2024-12-20 22:13:31 +0000
commit9ee0c7b8654346d60c823babe4b3747357a30477 (patch)
tree957e7fd85279fe8c3ce47423d663817dfa4cb25f /net/unix/af_unix.c
parentbpf: Check negative offsets in __bpf_skb_min_len() (diff)
downloadkernel-9ee0c7b8654346d60c823babe4b3747357a30477.tar.gz
kernel-9ee0c7b8654346d60c823babe4b3747357a30477.zip
selftests/bpf: Add a BPF selftest for bpf_skb_change_tail()
As requested by Daniel, we need to add a selftest to cover bpf_skb_change_tail() cases in skb_verdict. Here we test trimming, growing and error cases, and validate its expected return values and the expected sizes of the payload. Signed-off-by: Cong Wang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions