D | vrf.c | 401 struct net_vrf *vrf = netdev_priv(vrf_dev); in vrf_ip6_out_redirect() local 407 rt6 = rcu_dereference(vrf->rt6); in vrf_ip6_out_redirect() 476 static void vrf_rt6_release(struct net_device *dev, struct net_vrf *vrf) in vrf_rt6_release() argument 478 struct rt6_info *rt6 = rtnl_dereference(vrf->rt6); in vrf_rt6_release() 482 RCU_INIT_POINTER(vrf->rt6, NULL); in vrf_rt6_release() 500 struct net_vrf *vrf = netdev_priv(dev); in vrf_rt6_create() local 509 vrf->fib6_table = fib6_new_table(net, vrf->tb_id); in vrf_rt6_create() 510 if (!vrf->fib6_table) in vrf_rt6_create() 520 rcu_assign_pointer(vrf->rt6, rt6); in vrf_rt6_create() 534 static void vrf_rt6_release(struct net_device *dev, struct net_vrf *vrf) in vrf_rt6_release() argument [all …]
|