summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorHoyeon Lee <hoyeon.lee@suse.com>2025-11-16 01:55:39 +0300
committerMartin KaFai Lau <martin.lau@kernel.org>2025-11-19 01:57:53 +0300
commitec12ab2cda6607debde3f5cf6d425a1ec5fae1dd (patch)
tree913dbd3fc9deb949b6cbf4e0f3205510afade6a8 /scripts/patch-kernel
parentf700b37314d9b96dce66e31d2da865b201fa6b38 (diff)
downloadlinux-ec12ab2cda6607debde3f5cf6d425a1ec5fae1dd.tar.xz
selftests/bpf: Replace TCP CC string comparisons with bpf_strncmp
The connect4_prog and bpf_iter_setsockopt tests duplicate the same open-coded TCP congestion control string comparison logic. Since bpf_strncmp() provides the same functionality, use it instead to avoid repeated open-coded loops. This change applies only to functional BPF tests and does not affect the verifier performance benchmarks (veristat.cfg). No functional changes intended. Reviewed-by: Amery Hung <ameryhung@gmail.com> Signed-off-by: Hoyeon Lee <hoyeon.lee@suse.com> Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> Link: https://patch.msgid.link/20251115225550.1086693-5-hoyeon.lee@suse.com
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions