]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cxgb4: Avoid removal of uninserted tid
authorAnumula Murali Mohan Reddy <anumula@chelsio.com>
Fri, 3 Jan 2025 09:23:27 +0000 (14:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2025 16:15:50 +0000 (17:15 +0100)
commit8fe5fcf254388aee7eb3f391c6b1e0fbb600e8cc
tree1d284b35d6afb6e717586f84df7a45c5f069afd7
parent0cfe1297df07b3643a238f56aa4b014cda788012
cxgb4: Avoid removal of uninserted tid

[ Upstream commit 4c1224501e9d6c5fd12d83752f1c1b444e0e3418 ]

During ARP failure, tid is not inserted but _c4iw_free_ep()
attempts to remove tid which results in error.
This patch fixes the issue by avoiding removal of uninserted tid.

Fixes: 59437d78f088 ("cxgb4/chtls: fix ULD connection failures due to wrong TID base")
Signed-off-by: Anumula Murali Mohan Reddy <anumula@chelsio.com>
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Link: https://patch.msgid.link/20250103092327.1011925-1-anumula@chelsio.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c