WSL2-Linux-Kernel/drivers/net/netdevsim
Wei Yongjun 20fd4f421c netdevsim: switch to memdup_user_nul()
Use memdup_user_nul() helper instead of open-coding to
simplify the code.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-24 16:26:58 -07:00
..
Makefile netdevsim: Add dummy psample implementation 2021-03-14 15:00:43 -07:00
bpf.c netdevsim: Add debugfs toggle to reject BPF programs in verifier 2020-12-09 16:27:42 +01:00
bus.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dev.c netdevsim: Add dummy psample implementation 2021-03-14 15:00:43 -07:00
ethtool.c netdevsim: support ethtool ring and coalesce settings 2020-11-20 12:51:54 -08:00
fib.c netdevsim: Allow reporting activity on nexthop buckets 2021-03-12 17:44:10 -08:00
health.c netdevsim: switch to memdup_user_nul() 2021-03-24 16:26:58 -07:00
ipsec.c net: netdevsim: Use scnprintf() for avoiding potential buffer overflow 2020-03-15 17:06:22 -07:00
netdev.c netdevsim: init u64 stats for 32bit hardware 2021-03-04 14:36:26 -08:00
netdevsim.h netdevsim: Add dummy psample implementation 2021-03-14 15:00:43 -07:00
psample.c netdevsim: Add dummy psample implementation 2021-03-14 15:00:43 -07:00
udp_tunnels.c netdevsim: set .owner to THIS_MODULE 2020-11-17 14:08:59 -08:00