diff options
author | Eric Dumazet <edumazet@google.com> | 2024-02-13 07:32:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-14 12:20:13 +0100 |
commit | c7d52737e7ebd31cc5fef46380d94b58becf9479 (patch) | |
tree | 4bd56292d5714b0bea521695b95ae8c445c6fd13 /scripts/genksyms/genksyms.c | |
parent | net-sysfs: convert netdev_show() to RCU (diff) | |
download | linux-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