[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL+tcoDAmA4q+FxJchgA1LQ2fxhD8oRdjDOmVPeJ1-eSnkSt5Q@mail.gmail.com>
Date: Mon, 4 Mar 2024 15:04:57 +0800
From: Jason Xing <kerneljasonxing@...il.com>
To: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
fuyuanli@...iglobal.com
Subject: Re: [PATCH net-next v2] net/nlmon: Cancel setting the fields of
statistics to zero.
On Sun, Mar 3, 2024 at 7:43 PM fuyuanli <fuyuanli@...iglobal.com> 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@...iglobal.com>
> Link: https://lore.kernel.org/netdev/20240302105224.GA7223@didi-ThinkCentre-M920t-N000/
Suggested-by: Jason Xing <kerneljasonxing@...il.com>
See https://lore.kernel.org/all/CAL+tcoA=FVBJi2eJgAELhWG_f+N-kwmrHc+XRfKXhYk2RJcPKg@mail.gmail.com/
Reviewed-by: Jason Xing <kerneljasonxing@...il.com>
Powered by blists - more mailing lists