commit | 71ca59e234454b10149e5218f06348897bfee94e | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andrii@kernel.org> | Fri Aug 29 11:32:03 2025 -0700 |
committer | Andrii Nakryiko <andrii@kernel.org> | Fri Aug 29 11:46:37 2025 -0700 |
tree | 8c6c1da4c3bde586a3182f902abefb099c7e6737 | |
parent | c7d19d11240b6bb142b9f085c0fbc1027ed3a587 [diff] | |
parent | 19139f45999a054ccb0f2c0cb89cddca8463f287 [diff] |
Merge branch 'fix-bpf_strnstr-len-error' Rong Tao says: ==================== Fix bpf_strnstr len error From: Rong Tao <rongtao@cestc.cn> 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>