The branch stable/14 has been updated by np:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=54b0d4845a89c7fa8c6f916ff872a1171000b9ad

commit 54b0d4845a89c7fa8c6f916ff872a1171000b9ad
Author:     Navdeep Parhar <n...@freebsd.org>
AuthorDate: 2024-12-08 03:34:30 +0000
Commit:     Navdeep Parhar <n...@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);
 }
 

Reply via email to