]> git.ipfire.org Git - thirdparty/linux.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)
committerJakub Kicinski <kuba@kernel.org>
Tue, 7 Jan 2025 00:47:18 +0000 (16:47 -0800)
commit4c1224501e9d6c5fd12d83752f1c1b444e0e3418
treef24b547235a7b8ca135aef292bb2d3f8edf23a77
parent3085d4b847e016125609f3f03002833d8df476da
cxgb4: Avoid removal of uninserted tid

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>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c