diff options
| author | Eric Dumazet <[email protected]> | 2023-09-21 08:52:18 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-10-01 15:33:01 +0000 |
| commit | a56d9390bd6045e8c37bcfd0586ff5f65ef22997 (patch) | |
| tree | 2ba7eb479e617654fce5abc1159dacb19480abe1 /net/ipv4/tcp_ipv4.c | |
| parent | virtio_net: avoid data-races on dev->stats fields (diff) | |
| download | kernel-a56d9390bd6045e8c37bcfd0586ff5f65ef22997.tar.gz kernel-a56d9390bd6045e8c37bcfd0586ff5f65ef22997.zip | |
net: l2tp_eth: use generic dev->stats fields
Core networking has opt-in atomic variant of dev->stats,
simply use DEV_STATS_INC(), DEV_STATS_ADD() and DEV_STATS_READ().
v2: removed @priv local var in l2tp_eth_dev_recv() (Simon)
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions
