From f1732152a77581f239cb2068299c68f6cb782116 Mon Sep 17 00:00:00 2001 From: rwatson Date: Thu, 23 Dec 2004 01:16:21 +0000 Subject: 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. --- sys/kern/uipc_sockbuf.c | 10 +++++----- sys/kern/uipc_socket2.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'sys/kern') 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; diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c index f82052d..d683692 100644 --- a/sys/kern/uipc_socket2.c +++ b/sys/kern/uipc_socket2.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; -- cgit v1.1