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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user