diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-03-16 07:03:14 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-03-16 07:03:14 +0000 |
commit | 053507bd40c99c756879636521e0827573f88946 (patch) | |
tree | 18f8a38d832ba3a76ee6c7ede2ca3a6acbb82de9 /sys/kern/uipc_sockbuf.c | |
parent | 865b6c5d997ec0ccc6b93fe7d64bcd86bf666e10 (diff) | |
download | FreeBSD-src-053507bd40c99c756879636521e0827573f88946.zip FreeBSD-src-053507bd40c99c756879636521e0827573f88946.tar.gz |
Change soabort() from returning int to returning void, since all
consumers ignore the return value, soabort() is required to succeed,
and protocols produce errors here to report multiple freeing of the
pcb, which we hope to eliminate.
Diffstat (limited to 'sys/kern/uipc_sockbuf.c')
-rw-r--r-- | sys/kern/uipc_sockbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_sockbuf.c b/sys/kern/uipc_sockbuf.c index 0e2609b..bdeb344 100644 --- a/sys/kern/uipc_sockbuf.c +++ b/sys/kern/uipc_sockbuf.c @@ -266,7 +266,7 @@ sonewconn(head, connstatus) sp->so_qstate &= ~SQ_INCOMP; sp->so_head = NULL; ACCEPT_UNLOCK(); - (void) soabort(sp); + soabort(sp); ACCEPT_LOCK(); } TAILQ_INSERT_TAIL(&head->so_incomp, so, so_list); |