aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2022-07-26 21:36:05 +0000
committerAndrii Nakryiko <[email protected]>2022-07-29 21:57:26 +0000
commitd0b80a9edb1a029ff913e81b47540e57ad034329 (patch)
tree9aa513f4c706e65fc6e855ca86c152d8bf05e99d /tools/lib/bpf/bpf.c
parentbpf: Fix NULL pointer dereference when registering bpf trampoline (diff)
downloadkernel-d0b80a9edb1a029ff913e81b47540e57ad034329.tar.gz
kernel-d0b80a9edb1a029ff913e81b47540e57ad034329.zip
netdevsim: Avoid allocation warnings triggered from user space
We need to suppress warnings from sily map sizes. Also switch from GFP_USER to GFP_KERNEL_ACCOUNT, I'm pretty sure I misunderstood the flags when writing this code. Fixes: 395cacb5f1a0 ("netdevsim: bpf: support fake map offload") Reported-by: [email protected] Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf.c')
0 files changed, 0 insertions, 0 deletions