From: Andrii Nakryiko Date: Fri, 29 Aug 2025 18:32:03 +0000 (-0700) Subject: Merge branch 'fix-bpf_strnstr-len-error' X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=813104c192740ca58ce7131faf31a7f118645ae1;p=linux-block.git Merge branch 'fix-bpf_strnstr-len-error' Rong Tao says: ==================== Fix bpf_strnstr() wrong 'len' parameter, bpf_strnstr("open", "open", 4) should return 0 instead of -ENOENT. And fix a more general case when s2 is a suffix of the first len characters of s1. ==================== Link: https://patch.msgid.link/tencent_E72A37AF03A3B18853066E421B5969976208@qq.com Signed-off-by: Andrii Nakryiko Signed-off-by: Alexei Starovoitov --- 813104c192740ca58ce7131faf31a7f118645ae1