diff options
| author | Mohammad Shehar Yaar Tausif <sheharyaar48@gmail.com> | 2024-05-16 12:54:11 +0530 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2024-05-18 10:46:16 -0700 |
| commit | 6f130e4d4a5f7174f98300376f3994817ad7e21c (patch) | |
| tree | 3d557fc55d69779ddc771515c05f96a2c719ecb3 /net/ipv4/tcp_output.c | |
| parent | 34021caef79f76e70ac31247d321ecd0683c4939 (diff) | |
bpf: Fix order of args in call to bpf_map_kvcalloc
The original function call passed size of smap->bucket before the number of
buckets which raises the error 'calloc-transposed-args' on compilation.
Signed-off-by: Mohammad Shehar Yaar Tausif <sheharyaar48@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240516072411.42016-1-sheharyaar48@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
