diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-12-23 01:16:21 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-12-23 01:16:21 +0000 |
commit | f1732152a77581f239cb2068299c68f6cb782116 (patch) | |
tree | f356a537ab8ade4f8b3b98b421560e9d900a02da /sys/kern/uipc_sockbuf.c | |
parent | 5728709bda70f4ee28c63807da07323e0b7e8ff0 (diff) | |
download | FreeBSD-src-f1732152a77581f239cb2068299c68f6cb782116.zip FreeBSD-src-f1732152a77581f239cb2068299c68f6cb782116.tar.gz |
In sonewconn(), the s/if/while/ change to wait for room at the tail of
the accept queue is a feature, not a bug/issue, so remove the XXXRW
from the comment.
Diffstat (limited to 'sys/kern/uipc_sockbuf.c')
-rw-r--r-- | sys/kern/uipc_sockbuf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/uipc_sockbuf.c b/sys/kern/uipc_sockbuf.c index f82052d..d683692 100644 --- a/sys/kern/uipc_sockbuf.c +++ b/sys/kern/uipc_sockbuf.c @@ -256,11 +256,11 @@ sonewconn(head, connstatus) head->so_qlen++; } else { /* - * XXXRW: Keep removing sockets from the head until there's - * room for us to insert on the tail. In pre-locking - * revisions, this was a simple if(), but as we could be - * racing with other threads and soabort() requires dropping - * locks, we must loop waiting for the condition to be true. + * Keep removing sockets from the head until there's room for + * us to insert on the tail. In pre-locking revisions, this + * was a simple if(), but as we could be racing with other + * threads and soabort() requires dropping locks, we must + * loop waiting for the condition to be true. */ while (head->so_incqlen > head->so_qlimit) { struct socket *sp; |