diff options
author | 2023-07-05 20:34:35 -0700 | |
---|---|---|
committer | 2023-07-12 23:45:22 +0200 | |
commit | a80672d7e10edab757e771a1864ea2e1b9a31ac9 (patch) | |
tree | 4e5c74f01e29e5314bbdb0227ca8546d11bd5bde /include/linux/rcutiny.h | |
parent | bpf: Rename few bpf_mem_alloc fields. (diff) | |
download | wireguard-linux-a80672d7e10edab757e771a1864ea2e1b9a31ac9.tar.xz wireguard-linux-a80672d7e10edab757e771a1864ea2e1b9a31ac9.zip |
bpf: Simplify code of destroy_mem_alloc() with kmemdup().
Use kmemdup() to simplify the code.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/bpf/20230706033447.54696-3-alexei.starovoitov@gmail.com
Diffstat (limited to 'include/linux/rcutiny.h')
0 files changed, 0 insertions, 0 deletions