summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/icmp6.c6
-rw-r--r--sys/netinet6/in6_ifattach.c6
-rw-r--r--sys/netinet6/nd6.c4
3 files changed, 8 insertions, 8 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
index ff4ce7bf95f..f0100428732 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: icmp6.c,v 1.180 2015/12/02 13:29:26 claudio Exp $ */
+/* $OpenBSD: icmp6.c,v 1.181 2015/12/02 16:35:53 bluhm Exp $ */
/* $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */
/*
@@ -1959,7 +1959,7 @@ icmp6_mtudisc_timeout(struct rtentry *rt, struct rttimer *r)
int s;
s = splsoftnet();
- rtdeletemsg(rt, r->rtt_tableid);
+ rtdeletemsg(rt, NULL, r->rtt_tableid);
splx(s);
} else {
if (!(rt->rt_rmx.rmx_locks & RTV_MTU))
@@ -1977,7 +1977,7 @@ icmp6_redirect_timeout(struct rtentry *rt, struct rttimer *r)
int s;
s = splsoftnet();
- rtdeletemsg(rt, r->rtt_tableid);
+ rtdeletemsg(rt, NULL, r->rtt_tableid);
splx(s);
}
}
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c
index b81cd95d5c6..00bc86f1c7e 100644
--- a/sys/netinet6/in6_ifattach.c
+++ b/sys/netinet6/in6_ifattach.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_ifattach.c,v 1.98 2015/10/24 16:24:21 mpi Exp $ */
+/* $OpenBSD: in6_ifattach.c,v 1.99 2015/12/02 16:35:53 bluhm Exp $ */
/* $KAME: in6_ifattach.c,v 1.124 2001/07/18 08:32:51 jinmei Exp $ */
/*
@@ -547,7 +547,7 @@ in6_ifdetach(struct ifnet *ifp)
sin6.sin6_addr.s6_addr16[1] = htons(ifp->if_index);
rt = rtalloc(sin6tosa(&sin6), 0, ifp->if_rdomain);
if (rt && rt->rt_ifidx == ifp->if_index) {
- rtdeletemsg(rt, ifp->if_rdomain);
+ rtdeletemsg(rt, ifp, ifp->if_rdomain);
rtfree(rt);
}
@@ -559,7 +559,7 @@ in6_ifdetach(struct ifnet *ifp)
sin6.sin6_addr.s6_addr16[1] = htons(ifp->if_index);
rt = rtalloc(sin6tosa(&sin6), 0, ifp->if_rdomain);
if (rt && rt->rt_ifidx == ifp->if_index) {
- rtdeletemsg(rt, ifp->if_rdomain);
+ rtdeletemsg(rt, ifp, ifp->if_rdomain);
rtfree(rt);
}
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index f4a216b401f..0c0da720fb3 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6.c,v 1.174 2015/12/02 13:29:26 claudio Exp $ */
+/* $OpenBSD: nd6.c,v 1.175 2015/12/02 16:35:53 bluhm Exp $ */
/* $KAME: nd6.c,v 1.280 2002/06/08 19:52:07 itojun Exp $ */
/*
@@ -833,7 +833,7 @@ nd6_free(struct rtentry *rt, int gc)
* caches, and disable the route entry not to be used in already
* cached routes.
*/
- rtdeletemsg(rt, ifp->if_rdomain);
+ rtdeletemsg(rt, ifp, ifp->if_rdomain);
splx(s);
if_put(ifp);