[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240209171553.GE1533412@kernel.org>
Date: Fri, 9 Feb 2024 17:15:53 +0000
From: Simon Horman <horms@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org, Naman Gulati <namangulati@...gle.com>,
Coco Li <lixiaoyan@...gle.com>, Wei Wang <weiwan@...gle.com>,
eric.dumazet@...il.com
Subject: Re: [PATCH net 3/3] net-device: move lstats in net_device_read_txrx
On Thu, Feb 08, 2024 at 02:43:23PM +0000, Eric Dumazet wrote:
> dev->lstats is notably used from loopback ndo_start_xmit()
> and other virtual drivers.
>
> Per cpu stats updates are dirtying per-cpu data,
> but the pointer itself is read-only.
>
> Fixes: 43a71cd66b9c ("net-device: reorganize net_device fast path variables")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Coco Li <lixiaoyan@...gle.com>
> Cc: Simon Horman <horms@...nel.org>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists