Re: [PATCH net-next v2] net/nlmon: Cancel setting the fields of statistics to zero.

From: Eric Dumazet
Date: Sun Mar 03 2024 - 08:51:14 EST


On Sun, Mar 3, 2024 at 12:42 PM fuyuanli <fuyuanli@xxxxxxxxxxxxxx> wrote:
>
> Since fields of rtnl_link_stats64 have been set to zero in the previous
> dev_get_stats function, there is no need to set them again in the
> ndo_get_stats64 function.
>
> Signed-off-by: fuyuanli <fuyuanli@xxxxxxxxxxxxxx>
> Link: https://lore.kernel.org/netdev/20240302105224.GA7223@didi-ThinkCentre-M920t-N000/
>

Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>