We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d27b9c4 commit 87d5d92Copy full SHA for 87d5d92
net/ipv6/route.c
@@ -5318,8 +5318,7 @@ struct rt6_nh {
5318
struct list_head next;
5319
};
5320
5321
-static int ip6_route_info_append(struct net *net,
5322
- struct list_head *rt6_nh_list,
+static int ip6_route_info_append(struct list_head *rt6_nh_list,
5323
struct fib6_info *rt,
5324
struct fib6_config *r_cfg)
5325
{
@@ -5459,8 +5458,7 @@ static int ip6_route_multipath_add(struct fib6_config *cfg,
5459
5458
5460
rt->fib6_nh->fib_nh_weight = rtnh->rtnh_hops + 1;
5461
5462
- err = ip6_route_info_append(info->nl_net, &rt6_nh_list,
5463
- rt, &r_cfg);
+ err = ip6_route_info_append(&rt6_nh_list, rt, &r_cfg);
5464
if (err) {
5465
fib6_info_release(rt);
5466
goto cleanup;
0 commit comments