diff options
author | Eric Dumazet <edumazet@google.com> | 2023-09-21 08:52:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-01 16:33:01 +0100 |
commit | a56d9390bd6045e8c37bcfd0586ff5f65ef22997 (patch) | |
tree | 2ba7eb479e617654fce5abc1159dacb19480abe1 /fs/proc/fd.h | |
parent | d12a26b74fb77434b73fe39022266c4b00907219 (diff) | |
download | linux-stable-a56d9390bd6045e8c37bcfd0586ff5f65ef22997.tar.gz linux-stable-a56d9390bd6045e8c37bcfd0586ff5f65ef22997.tar.bz2 linux-stable-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 <edumazet@google.com>
Cc: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/proc/fd.h')
0 files changed, 0 insertions, 0 deletions