A small patch for sys/netinet6/in6_src.c

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Thu Nov 29 20:39:02 UTC 2012


On Sun, 25 Nov 2012, Vijay Singh wrote:

> Really trivial change.

Yeah, my comment is probably telling; I was wondering about the
history of the code and why it ended up like that but probably haven't
looked it up but added the XXX-BZ.  I shall handle this.


> /u/vijay/bsd/CODE/cur# svn diff sys/netinet6/in6_src.c
> Index: sys/netinet6/in6_src.c
> ===================================================================
> --- sys/netinet6/in6_src.c	(revision 243309)
> +++ sys/netinet6/in6_src.c	(working copy)
> @@ -597,11 +597,6 @@
> 		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;
> -				}
> 				error = EHOSTUNREACH;
> 				goto done;
> 			}
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>

-- 
Bjoern A. Zeeb                                 You have to have visions!
          Stop bit received. Insert coin for new address family.


More information about the freebsd-net mailing list