diff options
author | Eric Dumazet <edumazet@google.com> | 2022-11-15 09:53:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-11-16 13:48:44 +0100 |
commit | 2fad1ba354d4a82b1b635a78f25d9682d4febb5e (patch) | |
tree | 36e7f02ed2129570965094df188d19e99f056a18 /net/ipv4/ip_gre.c | |
parent | ipv6/sit: use DEV_STATS_INC() to avoid data-races (diff) | |
download | linux-2fad1ba354d4a82b1b635a78f25d9682d4febb5e.tar.xz linux-2fad1ba354d4a82b1b635a78f25d9682d4febb5e.zip |
ipv6: tunnels: use DEV_STATS_INC()
Most of code paths in tunnels are lockless (eg NETIF_F_LLTX in tx).
Adopt SMP safe DEV_STATS_{INC|ADD}() to update dev->stats fields.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_gre.c')
0 files changed, 0 insertions, 0 deletions