Re: [PATCH net] net: qcom/emac: Fix use after free bug in emac_remove due to race condition

From: Jakub Kicinski
Date: Mon Mar 13 2023 - 20:00:55 EST


On Fri, 10 Mar 2023 18:57:34 +0800 Zheng Wang wrote:
> + netif_carrier_off(netdev);
> + netif_tx_disable(netdev);
> + cancel_work_sync(&adpt->work_thread);
> unregister_netdev(netdev);
> netif_napi_del(&adpt->rx_q.napi);

same problem as in the natsemi driver