Deleted Added
full compact
76c76
< __FBSDID("$FreeBSD: head/sys/netinet6/in6_rmx.c 191816 2009-05-05 10:56:12Z zec $");
---
> __FBSDID("$FreeBSD: head/sys/netinet6/in6_rmx.c 193232 2009-06-01 15:49:42Z bz $");
292d291
< INIT_VNET_NET(curvnet);
294c293
< struct radix_node_head *rnh = V_rt_tables[0][AF_INET6];
---
> struct radix_node_head *rnh;
298a298,302
> rnh = rt_tables_get_rnh(0, AF_INET6);
> if (rnh == NULL) {
> CURVNET_RESTORE();
> return;
> }
380d383
< INIT_VNET_NET(curvnet);
382c385
< struct radix_node_head *rnh = V_rt_tables[0][AF_INET6];
---
> struct radix_node_head *rnh;
385a389,393
> rnh = rt_tables_get_rnh(0, AF_INET6);
> if (rnh == NULL) {
> CURVNET_RESTORE();
> return;
> }
408c416
< struct radix_node_head *rnh = V_rt_tables[0][AF_INET6];
---
> struct radix_node_head *rnh;
410a419,421
> rnh = rt_tables_get_rnh(0, AF_INET6);
> if (rnh == NULL)
> panic("%s: rnh == NULL", __func__);
432,434d442
< #ifdef INVARIANTS
< INIT_VNET_NET(curvnet);
< #endif
450c458
< KASSERT(rnh == V_rt_tables[0][AF_INET6], ("rnh?"));
---
> KASSERT(rnh == rt_tables_get_rnh(0, AF_INET6), ("rnh?"));