Date: Sun, 8 Dec 2024 05:59:07 GMT From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 45d5b9f0324a - main - cxgbe/t4_tom: Plug an stid leak. Message-ID: <202412080559.4B85x7l2086541@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=45d5b9f0324a13df06712b7a9df5f2fbe8475764 commit 45d5b9f0324a13df06712b7a9df5f2fbe8475764 Author: Navdeep Parhar <np@FreeBSD.org> AuthorDate: 2024-12-08 03:34:30 +0000 Commit: Navdeep Parhar <np@FreeBSD.org> CommitDate: 2024-12-08 05:54:30 +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. MFC after: 1 week Sponsored by: Chelsio Communications --- 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 c63c2565e743..06c495dcafc3 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?202412080559.4B85x7l2086541>