summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-07-26 23:36:05 +0200
committerAndrii Nakryiko <andrii@kernel.org>2022-07-29 23:57:26 +0200
commitd0b80a9edb1a029ff913e81b47540e57ad034329 (patch)
tree9aa513f4c706e65fc6e855ca86c152d8bf05e99d /tools/lib
parentbpf: Fix NULL pointer dereference when registering bpf trampoline (diff)
downloadlinux-d0b80a9edb1a029ff913e81b47540e57ad034329.tar.xz
linux-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: syzbot+ad24705d3fd6463b18c6@syzkaller.appspotmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20220726213605.154204-1-kuba@kernel.org
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions