Commit ddc1e64c authored by Sathesh B Edara's avatar Sathesh B Edara Committed by Greg Kroah-Hartman
Browse files

octeon_ep_vf: Resolve netdevice usage count issue



[ Upstream commit 8548c84c ]

The netdevice usage count increases during transmit queue timeouts
because netdev_hold is called in ndo_tx_timeout, scheduling a task
to reinitialize the card. Although netdev_put is called at the end
of the scheduled work, rtnl_unlock checks the reference count during
cleanup. This could cause issues if transmit timeout is called on
multiple queues.

Fixes: cb7dd712 ("octeon_ep_vf: Add driver framework and device initialization")
Signed-off-by: default avatarSathesh B Edara <sedara@marvell.com>
Link: https://patch.msgid.link/20250424133944.28128-1-sedara@marvell.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6e6325d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment