diff options
| author | Marko Zec <zec@FreeBSD.org> | 2008-10-02 15:37:58 +0000 |
|---|---|---|
| committer | Marko Zec <zec@FreeBSD.org> | 2008-10-02 15:37:58 +0000 |
| commit | 8b615593fc0d78ef8366c1328f5966256b82a9c0 (patch) | |
| tree | 53fef93d1ff076abec439159e0a765427992dee1 /sys/netinet6/route6.c | |
| parent | 04ec403dd815bd3731dbf7da040759cd16271e3c (diff) | |
Notes
Diffstat (limited to 'sys/netinet6/route6.c')
| -rw-r--r-- | sys/netinet6/route6.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet6/route6.c b/sys/netinet6/route6.c index c058f3b37f4a..dd1ec68b2b5b 100644 --- a/sys/netinet6/route6.c +++ b/sys/netinet6/route6.c @@ -65,6 +65,7 @@ static int ip6_rthdr0 __P((struct mbuf *, struct ip6_hdr *, int route6_input(struct mbuf **mp, int *offp, int proto) { + INIT_VNET_INET6(curvnet); struct ip6_hdr *ip6; struct mbuf *m = *mp; struct ip6_rthdr *rh; @@ -150,6 +151,7 @@ route6_input(struct mbuf **mp, int *offp, int proto) static int ip6_rthdr0(struct mbuf *m, struct ip6_hdr *ip6, struct ip6_rthdr0 *rh0) { + INIT_VNET_INET6(curvnet); int addrs, index; struct in6_addr *nextaddr, tmpaddr; struct in6_ifaddr *ifa; |
