diff options
Diffstat (limited to 'drivers/net/vrf.c')
-rw-r--r-- | drivers/net/vrf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c index dff08842f26d..8bd8c7e1ee87 100644 --- a/drivers/net/vrf.c +++ b/drivers/net/vrf.c | |||
@@ -304,7 +304,7 @@ static int vrf_rt6_create(struct net_device *dev) | |||
304 | dst_hold(&rt6->dst); | 304 | dst_hold(&rt6->dst); |
305 | 305 | ||
306 | rt6->rt6i_table = rt6i_table; | 306 | rt6->rt6i_table = rt6i_table; |
307 | rt6->dst.output = vrf_output6; | 307 | rt6->dst.output = vrf_output6; |
308 | rcu_assign_pointer(vrf->rt6, rt6); | 308 | rcu_assign_pointer(vrf->rt6, rt6); |
309 | 309 | ||
310 | rc = 0; | 310 | rc = 0; |
@@ -403,7 +403,7 @@ static int vrf_rtable_create(struct net_device *dev) | |||
403 | if (!rth) | 403 | if (!rth) |
404 | return -ENOMEM; | 404 | return -ENOMEM; |
405 | 405 | ||
406 | rth->dst.output = vrf_output; | 406 | rth->dst.output = vrf_output; |
407 | rth->rt_table_id = vrf->tb_id; | 407 | rth->rt_table_id = vrf->tb_id; |
408 | 408 | ||
409 | rcu_assign_pointer(vrf->rth, rth); | 409 | rcu_assign_pointer(vrf->rth, rth); |