summaryrefslogtreecommitdiff
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-11-07 21:49:46 +0100
committerJakub Kicinski <kuba@kernel.org>2020-11-09 17:50:27 -0800
commit6a9006287959ef69556d612dcbde9e68bf16a42b (patch)
tree58305ba2e578f5fe75ca11902465002b5f29749a /drivers/net/tun.c
parenta18394269fc87276963e8d965c730900178d7e4b (diff)
net: dsa: use net core stats64 handling
Use netdev->tstats instead of a member of dsa_slave_priv for storing a pointer to the per-cpu counters. This allows us to use core functionality for statistics handling. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Tested-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions