diff options
| author | 2022-09-13 16:40:33 +0800 | |
|---|---|---|
| committer | 2022-09-16 11:58:18 -0700 | |
| commit | a02c118ee9e898612cbae42121b9e8663455b515 (patch) | |
| tree | f9e56532a036b10e9059715f50a5a2eae9968481 /include | |
| parent | bpf: Add verifier check for BPF_PTR_POISON retval and arg (diff) | |
| download | linux-dev-a02c118ee9e898612cbae42121b9e8663455b515.tar.xz linux-dev-a02c118ee9e898612cbae42121b9e8663455b515.zip | |
bpf: use kvmemdup_bpfptr helper
Use kvmemdup_bpfptr helper instead of open-coding to
simplify the code.
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Acked-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/1663058433-14089-1-git-send-email-wangyufen@huawei.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
