summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/verifier.c
diff options
context:
space:
mode:
authorHongbo Li <lihongbo22@huawei.com>2024-08-28 08:21:28 +0200
committerAlexei Starovoitov <ast@kernel.org>2024-08-29 21:25:38 +0200
commitc6d9dafb595564ae44ef2e25e3ace2973aa867f3 (patch)
tree1305a7b888249ab5d1038989bff1d2f9c086bade /kernel/bpf/verifier.c
parentdocs/bpf: Fix a typo in verifier.rst (diff)
downloadlinux-c6d9dafb595564ae44ef2e25e3ace2973aa867f3.tar.xz
linux-c6d9dafb595564ae44ef2e25e3ace2973aa867f3.zip
bpf: Use kvmemdup to simplify the code
Use kvmemdup instead of kvmalloc() + memcpy() to simplify the code. No functional change intended. Acked-by: Yonghong Song <yonghong.song@linux.dev> Signed-off-by: Hongbo Li <lihongbo22@huawei.com> Link: https://lore.kernel.org/r/20240828062128.1223417-1-lihongbo22@huawei.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/verifier.c')
0 files changed, 0 insertions, 0 deletions