diff options
| author | Eric Dumazet <[email protected]> | 2023-10-19 12:21:04 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-10-21 00:41:29 +0000 |
| commit | a9beb7e81bcb876615e1fbb3c07f3f9dba69831f (patch) | |
| tree | 8ff743375eb8eb4f41bf7926aa40bebc35c117dd /drivers/net/ethernet/intel/igc/igc_ethtool.c | |
| parent | net: do not leave an empty skb in write queue (diff) | |
| download | kernel-a9beb7e81bcb876615e1fbb3c07f3f9dba69831f.tar.gz kernel-a9beb7e81bcb876615e1fbb3c07f3f9dba69831f.zip | |
neighbour: fix various data-races
1) tbl->gc_thresh1, tbl->gc_thresh2, tbl->gc_thresh3 and tbl->gc_interval
can be written from sysfs.
2) tbl->last_flush is read locklessly from neigh_alloc()
3) tbl->proxy_queue.qlen is read locklessly from neightbl_fill_info()
4) neightbl_fill_info() reads cpu stats that can be changed concurrently.
Fixes: c7fb64db001f ("[NETLINK]: Neighbour table configuration and statistics via rtnetlink")
Signed-off-by: Eric Dumazet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_ethtool.c')
0 files changed, 0 insertions, 0 deletions
