diff options
author | Sathesh B Edara <sedara@marvell.com> | 2025-04-24 16:39:44 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-26 04:46:41 +0300 |
commit | 8548c84c004be3da4ffbe35ed0589041a4050c03 (patch) | |
tree | b103d7fa74417bcf04bb34ba45f697d154c520da /lib/mpi/mpi-pow.c | |
parent | 765f253e28909f161b0211f85cf0431cfee7d6df (diff) | |
download | linux-8548c84c004be3da4ffbe35ed0589041a4050c03.tar.xz |
octeon_ep_vf: Resolve netdevice usage count issue
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: cb7dd712189f ("octeon_ep_vf: Add driver framework and device initialization")
Signed-off-by: Sathesh B Edara <sedara@marvell.com>
Link: https://patch.msgid.link/20250424133944.28128-1-sedara@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions