diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2025-08-29 11:32:03 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-09-09 15:09:29 -0700 |
commit | 813104c192740ca58ce7131faf31a7f118645ae1 (patch) | |
tree | b28fb0d124e318582dbf9586f3de16535c41bb45 /scripts/patch-kernel | |
parent | 387be23a95b14705a804900c3a0db5a12bf19636 (diff) | |
parent | 6624fb2f3382271953f951d46f2ea30415a0917e (diff) |
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 <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions