Lines Matching refs:new_nh
330 __nh_notifier_single_info_init(&info->nh_res_bucket->new_nh, newi);
394 struct nexthop *new_nh,
398 struct nh_info *newi = nh_res_dereference(new_nh->nh_info);
2530 static int insert_nexthop(struct net *net, struct nexthop *new_nh,
2537 u32 new_id = new_nh->id;
2557 rc = replace_nexthop(net, nh, new_nh, cfg, extack);
2559 new_nh = nh; /* send notification with old nh */
2575 if (new_nh->is_group) {
2576 struct nh_group *nhg = rtnl_dereference(new_nh->nh_grp);
2600 rb_link_node_rcu(&new_nh->rb_node, parent, pp);
2601 rb_insert_color(&new_nh->rb_node, root);
2606 rc = call_nexthop_notifiers(net, NEXTHOP_EVENT_REPLACE, new_nh, extack);
2608 rb_erase(&new_nh->rb_node, &net->nexthop.rb_root);
2613 nexthop_notify(RTM_NEWNEXTHOP, new_nh, &cfg->nlinfo);
2616 nexthop_replace_notify(net, new_nh, &cfg->nlinfo);