diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2003-10-04 03:44:50 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2003-10-04 03:44:50 +0000 |
| commit | d1dd20be6e083b93b09d4a34c292fc935aa2a225 (patch) | |
| tree | 7bd40aa381e3ec3f09e84ae6cc70b74bf5683aa2 /sys/netinet6/ip6_output.c | |
| parent | c303328741662e0c1e59c9a0ad267c212567c8bc (diff) | |
Notes
Diffstat (limited to 'sys/netinet6/ip6_output.c')
| -rw-r--r-- | sys/netinet6/ip6_output.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index 14e54fda2fc7..ff7cf8bd17a2 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -707,6 +707,7 @@ skip_ipsec2:; ia = ifatoia6(ro->ro_rt->rt_ifa); ifp = ro->ro_rt->rt_ifp; ro->ro_rt->rt_use++; + RT_UNLOCK(ro->ro_rt); } if ((flags & IPV6_FORWARDING) == 0) @@ -2080,7 +2081,7 @@ ip6_setmoptions(optname, im6op, m) break; } ifp = ro.ro_rt->rt_ifp; - rtfree(ro.ro_rt); + RTFREE(ro.ro_rt); } } else ifp = ifnet_byindex(mreq->ipv6mr_interface); |
