changeset 10880:94b6193debfc

6873752 improper cleanup of the accept queue for sctp and sdp sockets (fix lint)
author Anders Persson <Anders.Persson@Sun.COM>
date Mon, 26 Oct 2009 15:48:31 -0700
parents 420834d9266b
children a3a5f64c08c9
files usr/src/uts/common/fs/sockfs/sockcommon_subr.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/fs/sockfs/sockcommon_subr.c	Mon Oct 26 15:41:53 2009 -0600
+++ b/usr/src/uts/common/fs/sockfs/sockcommon_subr.c	Mon Oct 26 15:48:31 2009 -0700
@@ -204,7 +204,7 @@
 		nso->so_acceptq_next = NULL;
 
 		if (doclose) {
-			socket_close(nso, 0, CRED());
+			(void) socket_close(nso, 0, CRED());
 		} else {
 			/*
 			 * Since the socket is on the accept queue, there can