kernel_samsung_a53x/drivers/net
Wei Yongjun dfe8c65162 netdevsim: switch to memdup_user_nul()
[ Upstream commit 20fd4f421cf4c21ab37a8bf31db50c69f1b49355 ]

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>
Stable-dep-of: ee76746387f6 ("netdevsim: prevent bad user input in nsim_dev_health_break_write()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-15 16:29:41 +01:00
..
appletalk
arcnet
bonding bonding: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL 2025-01-02 17:01:17 +01:00
caif
can can: sun4i_can: sun4i_can_err(): fix {rx,tx}_errors statistics 2024-12-17 13:24:25 +01:00
dropdump
dsa Revert "net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports" 2024-11-24 00:23:56 +01:00
ethernet qca_spi: Make driver probing reliable 2025-01-02 17:00:50 +01:00
fddi
fjes
hamradio
hippi
hyperv hv_netvsc: Fix VF namespace also in synthetic NIC NETDEV_REGISTER event 2024-11-23 23:22:01 +01:00
ieee802154 Revert "ieee802154: Fix build error" 2024-11-24 00:23:12 +01:00
ipa
ipvlan
mdio
netdevsim netdevsim: switch to memdup_user_nul() 2025-01-15 16:29:41 +01:00
pcs
phy net: phy: ti: take into account all possible interrupt sources 2024-11-30 02:33:27 +01:00
plip
ppp Revert "ppp: fix ppp_async_encode() illegal access" 2024-11-24 00:22:56 +01:00
slip Revert "slip: make slhc_remember() more robust against malicious packets" 2024-11-24 00:22:55 +01:00
team team: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL 2025-01-02 17:01:17 +01:00
usb net: usb: lan78xx: Fix refcounting and autosuspend on invalid WoL configuration 2024-12-17 13:24:15 +01:00
vmxnet3
vxlan
wan
wimax
wireguard
wireless drivers: net: wireless: scsc: don't delete or deactivate AP interface in slsi_del_station 2024-12-18 19:46:36 +01:00
xen-netback Revert "net/xen-netback: prevent UAF in xenvif_flush_hash()" 2024-11-24 00:23:10 +01:00
bareudp.c Revert "bareudp: Fix device stats updates." 2024-11-24 00:23:41 +01:00
dummy.c net: bonding, dummy, ifb, team: advertise NETIF_F_GSO_SOFTWARE 2025-01-02 17:01:17 +01:00
eql.c
geneve.c geneve: do not assume mac header is set in geneve_xmit_skb() 2024-12-17 13:24:27 +01:00
gtp.c Revert "gtp: fix a potential NULL pointer dereference" 2024-11-24 00:23:49 +01:00
ifb.c net: bonding, dummy, ifb, team: advertise NETIF_F_GSO_SOFTWARE 2025-01-02 17:01:17 +01:00
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
veth.c
virtio_net.c Revert "virtio_net: Fix napi_skb_cache_put warning" 2024-11-24 00:23:46 +01:00
vrf.c Revert "net: vrf: determine the dst using the original ifindex for multicast" 2024-11-24 00:22:54 +01:00
vsockmon.c
xen-netfront.c xen/netfront: fix crash when removing device 2025-01-02 17:01:18 +01:00