Re: [PATCH net v3 3/4] octeon_ep_vf: fix race conditions in ndo_get_stats64

From: Jakub Kicinski
Date: Thu Dec 19 2024 - 22:22:11 EST


On Wed, 18 Dec 2024 03:51:10 -0800 Shinas Rasheed wrote:
> ndo_get_stats64() can race with ndo_stop(), which frees input and
> output queue resources. Call synchornize_net() in ndo_stop()

synchronize_net() here..

> + synchronize_rcu();
> netdev_info(netdev, "Stopping the device ...\n");

.. but not in the code
--
pw-bot: cr