WSL2-Linux-Kernel/drivers/net/netdevsim
Jakub Kicinski bde545304f netdevsim: Avoid allocation warnings triggered from user space
[ Upstream commit d0b80a9edb ]

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: 395cacb5f1 ("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>
2022-08-17 14:23:36 +02:00
..
Makefile netdevsim: Add dummy psample implementation 2021-03-14 15:00:43 -07:00
bpf.c netdevsim: Avoid allocation warnings triggered from user space 2022-08-17 14:23:36 +02:00
bus.c Driver core update for 5.15-rc1 2021-09-01 08:44:42 -07:00
dev.c devlink: Set device as early as possible 2021-08-09 10:21:40 +01:00
ethtool.c netdevsim: don't overwrite read only ethtool parms 2021-12-22 09:32:40 +01:00
fib.c netdevsim: fib: Fix reference count leak on route deletion failure 2022-08-17 14:23:36 +02:00
health.c netdevsim: switch to memdup_user_nul() 2021-03-24 16:26:58 -07:00
ipsec.c net: netdevsim: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops 2021-07-06 10:36:59 -07:00
netdev.c netdevsim: Add multi-queue support 2021-07-16 11:17:56 -07:00
netdevsim.h netdevsim: Protect both reload_down and reload_up paths 2021-08-06 10:36:36 +01:00
psample.c netdevsim: Only use sampling truncation length when valid 2021-04-22 13:23:56 -07:00
udp_tunnels.c netdevsim: set .owner to THIS_MODULE 2020-11-17 14:08:59 -08:00