]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'add-kfuncs-bpf_strcasestr-and-bpf_strncasestr'
authorAlexei Starovoitov <ast@kernel.org>
Fri, 10 Oct 2025 17:05:33 +0000 (10:05 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 10 Oct 2025 17:05:58 +0000 (10:05 -0700)
commit2e36338df42d64955236d9f9b665d1443fd74f8c
tree23d326259f453010d4655c3970a0e052cfcb7dac
parent17566cf0e3629728b692e35213a4fd6ea9f86150
parenteca0b643efc96f1b095ae9ff5d190a513590f838
Merge branch 'add-kfuncs-bpf_strcasestr-and-bpf_strncasestr'

Rong Tao says:

====================
Add kfuncs bpf_strcasestr and bpf_strncasestr

From: Rong Tao <rongtao@cestc.cn>

Add kfuncs bpf_strcasestr and bpf_strncasestr, which are extensions of
bpf_strstr and bpf_strnstr, suitable for more scenarios.

v4: Fix wrong comment.
v3: keep __bpf_strnstr() static and compress some tests.
    https://lore.kernel.org/lkml/tencent_6E59062E4249590597452A06AFCDA3098808@qq.com/
v2: remove extra __bpf_kfunc and fix comment of bpf_strncasestr().
    https://lore.kernel.org/all/tencent_6D228941AB904DD6E1E58C8ACDEBEC280C06@qq.com/
v1: https://lore.kernel.org/all/tencent_8AF4D15B4475031E2185ACDE4B1495995707@qq.com/
====================

Link: https://patch.msgid.link/tencent_98ABC9680EA2A20198904316DAE5A84AD906@qq.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>