Date: Thu, 23 Oct 2003 21:58:58 -0700 (PDT) From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 40369 for review Message-ID: <200310240458.h9O4wwXR026240@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=40369 Change 40369 by sam@sam_ebb on 2003/10/23 21:58:22 re-apply earlier fix to correctly recognize when the reference to a locally allocate routing table entry needs to be reclaimed Affected files ... .. //depot/projects/hostcache/sys/netinet6/in6_src.c#4 edit Differences ... ==== //depot/projects/hostcache/sys/netinet6/in6_src.c#4 (text+ko) ==== @@ -280,8 +280,8 @@ if (ia6 == 0) /* xxx scope error ?*/ ia6 = ifatoia6(ro->ro_rt->rt_ifa); } - if (sro.ro_rt) - RTFREE(sro.ro_rt); + if (ro == &sro && ro->ro_rt) + RTFREE(ro->ro_rt); if (ia6 == 0) { *errorp = EHOSTUNREACH; /* no route */ return (0);help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310240458.h9O4wwXR026240>
