linux/drivers/net
MD Danish Anwar 47a9b5e52a net: ti: icssg-prueth: Add lock to stats
Currently the API emac_update_hardware_stats() reads different ICSSG
stats without any lock protection.

This API gets called by .ndo_get_stats64() which is only under RCU
protection and nothing else. Add lock to this API so that the reading of
statistics happens during lock.

Fixes: c1e10d5dc7 ("net: ti: icssg-prueth: Add ICSSG Stats")
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250314102721.1394366-1-danishanwar@ti.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-20 11:11:14 +01:00
..
arcnet
bonding bonding: fix incorrect MAC address setting to receive NS messages 2025-03-11 13:19:27 +01:00
caif caif_virtio: fix wrong pointer check in cfv_probe() 2025-02-28 18:04:23 -08:00
can can: flexcan: disable transceiver during system PM 2025-03-14 13:25:43 +01:00
dsa net: dsa: mv88e6xxx: Verify after ATU Load ops 2025-03-07 19:36:33 -08:00
ethernet net: ti: icssg-prueth: Add lock to stats 2025-03-20 11:11:14 +01:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa net: ipa: Enable checksum for IPA_ENDPOINT_AP_MODEM_{RX,TX} for v4.7 2025-03-04 16:19:21 -08:00
ipvlan ipvlan: ensure network headers are in skb linear part 2025-02-21 16:29:50 -08:00
mctp net: mctp i2c: Copy headers if cloned 2025-03-07 19:45:03 -08:00
mdio
netdevsim selftests: drv-net: test XDP, HDS auto and the ioctl path 2025-02-24 14:16:37 -08:00
pcs
phy phy: fix xa_alloc_cyclic() error handling 2025-03-19 09:57:37 +00:00
plip
ppp ppp: Fix KMSAN uninit-value warning with bpf 2025-03-04 16:56:41 -08:00
pse-pd
slip
team
thunderbolt
usb net: usb: lan78xx: Sanitize return values of register read/write functions 2025-03-10 13:18:44 -07:00
vmxnet3
vxlan
wan
wireguard
wireless wifi: iwlwifi: trans: cancel restart work on op mode leave 2025-03-07 09:57:39 +01:00
wwan
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
loopback.c net: loopback: Avoid sending IP packets without an Ethernet header 2025-02-21 16:06:46 -08:00
macsec.c
macvlan.c
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
netkit.c
nlmon.c
ntb_netdev.c
pfcp.c
rionet.c
sb1000.c
sungem_phy.c
tap.c
tun.c
veth.c
virtio_net.c
vrf.c
vsockmon.c
xen-netfront.c