1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 08:35:19 -05:00
linux/net
Eric Dumazet c7d52737e7 net-sysfs: use dev_addr_sem to remove races in address_show()
Using dev_base_lock is not preventing from reading garbage.

Use dev_addr_sem instead.

v4: place dev_addr_sem extern in net/core/dev.h (Jakub Kicinski)
 Link: https://lore.kernel.org/netdev/20240212175845.10f6680a@kernel.org/

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-02-14 11:20:13 +00:00
..
6lowpan
9p
802
8021q vlan: use netdev_lockdep_set_classes() 2024-02-13 18:45:06 -08:00
appletalk
atm
ax25
batman-adv
bluetooth
bpf
bridge net: bridge: use netdev_lockdep_set_classes() 2024-02-13 18:45:06 -08:00
caif
can can: canxl: add virtual CAN network identifier support 2024-02-13 11:47:13 +01:00
ceph
core net-sysfs: use dev_addr_sem to remove races in address_show() 2024-02-14 11:20:13 +00:00
dcb
dccp
devlink
dns_resolver
dsa net: dsa: tag_sja1105: remove "inline" keyword 2024-02-08 19:03:57 -08:00
ethernet
ethtool ethtool: do not use rtnl in ethnl_default_dumpit() 2024-02-08 19:08:51 -08:00
handshake
hsr
ieee802154
ife
ipv4 ip_tunnel: annotate data-races around t->parms.link 2024-02-14 11:20:13 +00:00
ipv6 net: add netdev_lockdep_set_classes() to virtual drivers 2024-02-13 18:45:06 -08:00
iucv
kcm
key
l2tp ipv4: Set the routing scope properly in ip_route_output_ports(). 2024-02-12 17:33:05 -08:00
l3mdev
lapb
llc
mac80211
mac802154
mctp
mpls
mptcp
ncsi
netfilter netfilter: conntrack: expedite rcu in nf_conntrack_cleanup_net_list 2024-02-12 12:17:03 +00:00
netlabel
netlink
netrom
nfc
nsh
openvswitch
packet
phonet
psample
qrtr
rds
rfkill
rose
rxrpc
sched net: sched: codel replace GPLv2/BSD boilerplate 2024-02-13 13:45:19 +01:00
sctp
smc
strparser
sunrpc
switchdev
tipc
tls
unix
vmw_vsock
wireless
x25
xdp
xfrm
compat.c
devres.c
Kconfig
Kconfig.debug
Makefile
socket.c
sysctl_net.c