diff options
| author | Eric Dumazet <[email protected]> | 2024-02-08 14:43:23 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-02-12 09:51:26 +0000 |
| commit | c353c7b7ffb7ae6ed8f3339906fe33c8be6cf344 (patch) | |
| tree | 3989289e35fc370cf94ec076fa44970fcceffe10 /net/unix/garbage.c | |
| parent | tcp: move tp->tcp_usec_ts to tcp_sock_read_txrx group (diff) | |
| download | kernel-c353c7b7ffb7ae6ed8f3339906fe33c8be6cf344.tar.gz kernel-c353c7b7ffb7ae6ed8f3339906fe33c8be6cf344.zip | |
net-device: move lstats in net_device_read_txrx
dev->lstats is notably used from loopback ndo_start_xmit()
and other virtual drivers.
Per cpu stats updates are dirtying per-cpu data,
but the pointer itself is read-only.
Fixes: 43a71cd66b9c ("net-device: reorganize net_device fast path variables")
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Coco Li <[email protected]>
Cc: Simon Horman <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
