svn commit: r253034 - stable/8/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Mon Jul 8 13:22:59 UTC 2013


Author: tuexen
Date: Mon Jul  8 13:22:58 2013
New Revision: 253034
URL: http://svnweb.freebsd.org/changeset/base/253034

Log:
  Don't keep a pointer to freed memory.
  This is a direct commit, since this code is gone in head.

Modified:
  stable/8/sys/netinet/sctp_output.c

Modified: stable/8/sys/netinet/sctp_output.c
==============================================================================
--- stable/8/sys/netinet/sctp_output.c	Mon Jul  8 12:17:06 2013	(r253033)
+++ stable/8/sys/netinet/sctp_output.c	Mon Jul  8 13:22:58 2013	(r253034)
@@ -4487,6 +4487,7 @@ sctp_lowlevel_chunk_output(struct sctp_i
 				/* Now if we had a temp route free it */
 				if (ro->ro_rt) {
 					RTFREE(ro->ro_rt);
+					ro->ro_rt = NULL;
 				}
 			} else {
 				/*


More information about the svn-src-stable-8 mailing list