summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-02-28 03:31:22 -0800
committerPaolo Abeni <pabeni@redhat.com>2024-02-29 12:50:13 +0100
commitfa0cd90213695b928410484264b38982757a5c28 (patch)
tree94ec4ece55e2b22686dd0642bd861ce4e7406464 /net/core
parent3e2f544dd8a33b2f650b32920b9bef103da2a7cd (diff)
net: sit: Do not set .ndo_get_stats64
If the driver is using the network core allocation mechanism, by setting NETDEV_PCPU_STAT_TSTATS, as this driver is, then, it doesn't need to set the dev_get_tstats64() generic .ndo_get_stats64 function pointer. Since the network core calls it automatically, and .ndo_get_stats64 should only be set if the driver needs special treatment. This simplifies the driver, since all the generic statistics is now handled by core. Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions