diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-07-26 14:36:05 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-25 11:15:12 +0200 |
commit | 18e1ab727157d26024a74b7021c9a0819f3cd044 (patch) | |
tree | 91c58bff92e2b6c231b055fae2032fd9c7130d90 /net/rose | |
parent | 91cff7bc0d97c4900bfcf997a15a175ddbe84a19 (diff) | |
download | linux-stable-18e1ab727157d26024a74b7021c9a0819f3cd044.tar.gz linux-stable-18e1ab727157d26024a74b7021c9a0819f3cd044.tar.bz2 linux-stable-18e1ab727157d26024a74b7021c9a0819f3cd044.zip |
netdevsim: Avoid allocation warnings triggered from user space
[ Upstream commit d0b80a9edb1a029ff913e81b47540e57ad034329 ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/rose')
0 files changed, 0 insertions, 0 deletions