diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-04-03 12:52:13 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-04-03 12:52:13 +0000 |
commit | cf774d53829b7b47d2d1a223d55656e2177722f8 (patch) | |
tree | f499c3d14b920c7d772487cecb2d6c920fb85327 /sys/netinet/tcp_subr.c | |
parent | 206bd5674e4c71f5b56cf5b999c549dfebe5d319 (diff) | |
download | FreeBSD-src-cf774d53829b7b47d2d1a223d55656e2177722f8.zip FreeBSD-src-cf774d53829b7b47d2d1a223d55656e2177722f8.tar.gz |
Update comment on tcp_close() for new world order.
MFC after: 3 months
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) |