summaryrefslogtreecommitdiffstats
path: root/scripts/genksyms/genksyms.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-02-13 07:32:38 +0100
committerDavid S. Miller <davem@davemloft.net>2024-02-14 12:20:13 +0100
commitc7d52737e7ebd31cc5fef46380d94b58becf9479 (patch)
tree4bd56292d5714b0bea521695b95ae8c445c6fd13 /scripts/genksyms/genksyms.c
parentnet-sysfs: convert netdev_show() to RCU (diff)
downloadlinux-c7d52737e7ebd31cc5fef46380d94b58becf9479.tar.xz
linux-c7d52737e7ebd31cc5fef46380d94b58becf9479.zip
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>
Diffstat (limited to 'scripts/genksyms/genksyms.c')
0 files changed, 0 insertions, 0 deletions