diff options
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r-- | sys/netinet/tcp_subr.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index f64df61..0c8fc8e 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -769,10 +769,8 @@ tcp_discardcb(tp) } /* - * Close a TCP control block: - * discard all space held by the tcp - * discard internet protocol block - * wake up any sleepers + * Attempt to close a TCP control block, marking it as dropped, and freeing + * the socket if we hold the only reference. */ struct tcpcb * tcp_close(tp) |