PERFORCE change 36385 for review
Sam Leffler
sam at FreeBSD.org
Mon Aug 18 18:11:10 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=36385
Change 36385 by sam at sam_ebb on 2003/08/18 18:10:51
correct two more spots where we need to lock the rtentry explicitly
Affected files ...
.. //depot/projects/netperf/sys/netinet6/in6_pcb.c#3 edit
.. //depot/projects/netperf/sys/netinet6/ip6_output.c#3 edit
Differences ...
==== //depot/projects/netperf/sys/netinet6/in6_pcb.c#3 (text+ko) ====
@@ -649,7 +649,7 @@
ip6_freepcbopts(inp->in6p_outputopts);
ip6_freemoptions(inp->in6p_moptions);
if (inp->in6p_route.ro_rt)
- rtfree(inp->in6p_route.ro_rt);
+ RTFREE(inp->in6p_route.ro_rt);
/* Check and free IPv4 related resources in case of mapped addr */
if (inp->inp_options)
(void)m_free(inp->inp_options);
==== //depot/projects/netperf/sys/netinet6/ip6_output.c#3 (text+ko) ====
@@ -2091,7 +2091,7 @@
break;
}
ifp = ro.ro_rt->rt_ifp;
- rtfree(ro.ro_rt);
+ RTFREE(ro.ro_rt);
}
} else
ifp = ifnet_byindex(mreq->ipv6mr_interface);
More information about the p4-projects
mailing list