Date: Fri, 14 Feb 2025 04:59:05 GMT From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 54b0d4845a89 - stable/14 - cxgbe/t4_tom: Plug an stid leak. Message-ID: <202502140459.51E4x5M4009686@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=54b0d4845a89c7fa8c6f916ff872a1171000b9ad commit 54b0d4845a89c7fa8c6f916ff872a1171000b9ad Author: Navdeep Parhar <np@FreeBSD.org> AuthorDate: 2024-12-08 03:34:30 +0000 Commit: Navdeep Parhar <np@FreeBSD.org> CommitDate: 2025-02-14 04:57:54 +0000 cxgbe/t4_tom: Plug an stid leak. Normally the reply to destroy_server() releases the listen context but it is not called when the adapter is suspended. Release the context right away in that case. Sponsored by: Chelsio Communications (cherry picked from commit 45d5b9f0324a13df06712b7a9df5f2fbe8475764) --- sys/dev/cxgbe/tom/t4_listen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/cxgbe/tom/t4_listen.c b/sys/dev/cxgbe/tom/t4_listen.c index 8226c44669ab..0292144502c3 100644 --- a/sys/dev/cxgbe/tom/t4_listen.c +++ b/sys/dev/cxgbe/tom/t4_listen.c @@ -769,6 +769,8 @@ t4_listen_stop(struct toedev *tod, struct tcpcb *tp) if (lctx->flags & LCTX_SETUP_IN_HW) destroy_server(sc, lctx); + else + inp = release_lctx(sc, lctx); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502140459.51E4x5M4009686>