diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2026-01-21 09:42:53 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-01-21 09:42:53 -0800 |
| commit | d73cbe2c14cce700d18fc135946d3a0e1c989bae (patch) | |
| tree | 6a423d3daa9ae18962df01e687a50e62172d816e /scripts | |
| parent | d0f5d4f8f3285349bfb94fa84555ab267d2c041d (diff) | |
| parent | f4924ad0b13fd4ca4f0c7117dc143bf372224aec (diff) | |
Merge branch 'bpf-add-kfunc-bpf_strncasecmp'
Yuzuki Ishiyama says:
====================
bpf: Add kfunc bpf_strncasecmp()
This patchset introduces bpf_strncasecmp to allow case-insensitive and
limited-length string comparison. This is useful for parsing protocol
headers like HTTP.
---
Changes in v5:
- Fixed the test function numbering
Changes in v4:
- Updated the loop variable to maintain style consistency
Changes in v3:
- Use ternary operator to maintain style consistency
- Reverted unnecessary doc comment about XATTR_SIZE_MAX
Changes in v2:
- Compute max_sz upfront and remove len check from the loop body
- Document that @len is limited by XATTR_SIZE_MAX
====================
Link: https://patch.msgid.link/20260121033328.1850010-1-ishiyama@hpc.is.uec.ac.jp
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
