Re: [RFC PATCH net-next 8/9] ethtool: cmis_fw_update: add a layer for supporting firmware update using CDB

From: Jakub Kicinski
Date: Tue Jan 23 2024 - 00:07:18 EST


On Mon, 22 Jan 2024 10:45:29 +0200 Danielle Ratson wrote:
> + netdev_put(module_fw->dev, &module_fw->dev_tracker);
> + module_fw->dev->module_fw_flash_in_progress = false;

The other way around :) Once you release the reference you can't touch
dev at all.