svn commit: r188521 - in stable/7/sys: . netinet

Randall Stewart rrs at FreeBSD.org
Thu Feb 12 08:40:49 PST 2009


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;
 		}
 	}


More information about the svn-src-all mailing list