Re: [PATCH net] octeontx2-vf: fix workqueue and netdev race in probe/remove
From: Simon Horman
Date: Mon Aug 24 2026 - 06:37:26 EST
On Thu, Aug 20, 2026 at 02:06:34PM +0530, nshettyj@xxxxxxxxxxx wrote:
> From: Anshumali Gaur <agaur@xxxxxxxxxxx>
>
> Initialize the VF workqueue before register_netdev() so ndo_set_rx_mode
> does not queue work on a NULL workqueue. Unregister the netdev before
> destroying the workqueue, and add proper probe error cleanup.
>
> Fixes: cbc100aa2205 ("octeontx2-nicvf: add ndo_set_rx_mode support for multicast & promisc")
> Signed-off-by: Nitin Shetty J <nshettyj@xxxxxxxxxxx>
> Signed-off-by: Anshumali Gaur <agaur@xxxxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>