Date: Thu, 23 Oct 2003 14:11:14 -0700 (PDT) From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 40343 for review Message-ID: <200310232111.h9NLBECP088797@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=40343 Change 40343 by sam@sam_ebb on 2003/10/23 14:10:32 correctly fix bogus RTFREE in andre's patch Affected files ... .. //depot/projects/netperf/sys/netinet6/in6_src.c#12 edit Differences ... ==== //depot/projects/netperf/sys/netinet6/in6_src.c#12 (text+ko) ==== @@ -280,6 +280,11 @@ if (ia6 == 0) /* xxx scope error ?*/ ia6 = ifatoia6(ro->ro_rt->rt_ifa); } + /* + * Reclaim route allocated only for local use. + */ + if (ro == &sro && ro->ro_rt) + RTFREE(ro->ro_rt); if (ia6 == 0) { *errorp = EHOSTUNREACH; /* no route */ return (0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310232111.h9NLBECP088797>