Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 16:40:48 +0000 (UTC)
From:      Randall Stewart <rrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r188521 - in stable/7/sys: . netinet
Message-ID:  <200902121640.n1CGemoZ061021@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rrs
Date: Thu Feb 12 16:40:48 2009
New Revision: 188521
URL: http://svn.freebsd.org/changeset/base/188521

Log:
  Merges in 182268 from head close bug where we
  failed to NULL the sctp_socket.

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/netinet/sctp_pcb.c

Modified: stable/7/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/7/sys/netinet/sctp_pcb.c	Thu Feb 12 15:28:15 2009	(r188520)
+++ stable/7/sys/netinet/sctp_pcb.c	Thu Feb 12 16:40:48 2009	(r188521)
@@ -3270,6 +3270,7 @@ sctp_inpcb_free(struct sctp_inpcb *inp, 
 #ifdef SCTP_LOG_CLOSING
 			sctp_log_closing(inp, NULL, 2);
 #endif
+			inp->sctp_socket = NULL;
 			return;
 		}
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902121640.n1CGemoZ061021>