diff options
| author | Jeremy Kerr <[email protected]> | 2024-06-07 10:25:26 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-06-12 02:24:56 +0000 |
| commit | 2202576d4631b977a95162a387c0c9fb4ca6819c (patch) | |
| tree | eee33772358f869f92af32d164ec187af273dc9c /net/ipv4/tcp_ipv4.c | |
| parent | net: core: Implement dstats-type stats collections (diff) | |
| download | kernel-2202576d4631b977a95162a387c0c9fb4ca6819c.tar.gz kernel-2202576d4631b977a95162a387c0c9fb4ca6819c.zip | |
net: vrf: move to generic dstat helpers
The vrf driver has its own dstats-to-rtnl_link_stats64 collection, but
we now have a generic implementation for dstats collection, so switch to
this.
In doing so, we fix a minor issue where the (non-percpu)
dev->stats->tx_errors value was never collected into rtnl_link_stats64,
as the generic dev_get_dstats64() consumes the starting values from
dev->stats.
Signed-off-by: Jeremy Kerr <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions
