Messages in this thread | ![/](/images/icornerl.gif) | | From | Jason Xing <> | Date | Mon, 4 Mar 2024 15:04:57 +0800 | 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@didiglobal.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@didiglobal.com> > Link: https://lore.kernel.org/netdev/20240302105224.GA7223@didi-ThinkCentre-M920t-N000/
Suggested-by: Jason Xing <kerneljasonxing@gmail.com> See https://lore.kernel.org/all/CAL+tcoA=FVBJi2eJgAELhWG_f+N-kwmrHc+XRfKXhYk2RJcPKg@mail.gmail.com/
Reviewed-by: Jason Xing <kerneljasonxing@gmail.com>
| ![\](/images/icornerr.gif) |