Deleted Added
full compact
30c30
< * $FreeBSD: head/sys/net/rtsock.c 193219 2009-06-01 10:41:38Z rwatson $
---
> * $FreeBSD: head/sys/net/rtsock.c 193232 2009-06-01 15:49:42Z bz $
463d462
< INIT_VNET_NET(so->so_vnet);
564c563,564
< rnh = V_rt_tables[so->so_fibnum][info.rti_info[RTAX_DST]->sa_family];
---
> rnh = rt_tables_get_rnh(so->so_fibnum,
> info.rti_info[RTAX_DST]->sa_family);
1421d1420
< INIT_VNET_NET(curvnet);
1424c1423
< struct radix_node_head *rnh;
---
> struct radix_node_head *rnh = NULL; /* silence compiler. */
1472c1471,1472
< if ((rnh = V_rt_tables[req->td->td_proc->p_fibnum][i]) != NULL) {
---
> rnh = rt_tables_get_rnh(req->td->td_proc->p_fibnum, i);
> if (rnh != NULL) {