diff options
| author | Weimin Xiong <xiongwm2026@163.com> | 2026-07-16 10:51:02 +0800 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2026-07-27 15:30:39 -0700 |
| commit | fcf741584a562aaa89b0ace71f410b1c1a3e5193 (patch) | |
| tree | c22dc3f851091f76d19a8b09662956f416b77a1c /kernel | |
| parent | 3c6e8a37eff15c3f834ba80c201932712e4b71d4 (diff) | |
tcp: Use kvmalloc_array() for BPF iterator batches
Use kvmalloc_array() instead of open-coding the element-size
multiplication when allocating the TCP BPF iterator batch.
Signed-off-by: Weimin Xiong <xiongwm2026@163.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
