diff options
| author | Eric Dumazet <[email protected]> | 2023-03-13 20:17:32 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-03-15 07:37:33 +0000 |
| commit | c486640aa710ddd06c13a7f7162126e1552e8842 (patch) | |
| tree | 0611835d7b618d97f31bdc1a592542c5352b636f /drivers/net/dsa/microchip/ksz_common.h | |
| parent | neighbour: annotate lockless accesses to n->nud_state (diff) | |
| download | kernel-c486640aa710ddd06c13a7f7162126e1552e8842.tar.gz kernel-c486640aa710ddd06c13a7f7162126e1552e8842.zip | |
ipv6: remove one read_lock()/read_unlock() pair in rt6_check_neigh()
rt6_check_neigh() uses read_lock() to protect n->nud_state reading.
This seems overkill and causes false sharing.
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Reviewed-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.h')
0 files changed, 0 insertions, 0 deletions
