svn commit: r237459 - head/sys/netinet6

Bjoern A. Zeeb bz at FreeBSD.org
Fri Jun 22 21:26:35 UTC 2012


Author: bz
Date: Fri Jun 22 21:26:35 2012
New Revision: 237459
URL: http://svn.freebsd.org/changeset/base/237459

Log:
  Just add a comment to further investigate when being closer to that code
  again next time.  The condition of the 2nd if() is very unlikely ever met.

Modified:
  head/sys/netinet6/in6_src.c

Modified: head/sys/netinet6/in6_src.c
==============================================================================
--- head/sys/netinet6/in6_src.c	Fri Jun 22 20:42:11 2012	(r237458)
+++ head/sys/netinet6/in6_src.c	Fri Jun 22 21:26:35 2012	(r237459)
@@ -597,6 +597,7 @@ selectroute(struct sockaddr_in6 *dstsock
 		if (ron->ro_rt == NULL) {
 			in6_rtalloc(ron, fibnum); /* multi path case? */
 			if (ron->ro_rt == NULL) {
+				/* XXX-BZ WT.? */
 				if (ron->ro_rt) {
 					RTFREE(ron->ro_rt);
 					ron->ro_rt = NULL;


More information about the svn-src-all mailing list