summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJianyu Li <jianyu.li@mediatek.com>2026-06-01 19:36:40 +0800
committerJakub Kicinski <kuba@kernel.org>2026-06-03 18:52:25 -0700
commitdd8975ad710ea1f3d7c7a36295072fd5ee59ca0a (patch)
tree9dbbd2b8dd8e1dad1675e68f5aa0fef199fe5896 /tools/perf/scripts/python/bin
parentc1f07a7f2d47aeb9878301e7bb36bc1c2bc2be8e (diff)
af_unix: Add test for SCM_INQ on partial read
Add test to verify that when a skb is partially consumed, unix_inq_len() return correct remaining byte count. Before: # RUN scm_inq.stream.partial_read ... # scm_inq.c:165:partial_read:Expected remain (512) == *(int *)CMSG_DATA(cmsg) (768) # partial_read: Test terminated by assertion # FAIL scm_inq.stream.partial_read not ok 2 scm_inq.stream.partial_read After: # RUN scm_inq.stream.partial_read ... # OK scm_inq.stream.partial_read ok 2 scm_inq.stream.partial_read Signed-off-by: Jianyu Li <jianyu.li@mediatek.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com> Link: https://patch.msgid.link/20260601113640.231897-3-jianyu.li@mediatek.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions