Commit 52fe705b authored by Chris Packham's avatar Chris Packham Committed by David S. Miller

net: vrf: replace hard tab with space in assignment

The assignment of rth->dst.output in vrf_rt6_create() and
vrf_rtable_create() used a hard tab before the '='. The neighboring
assignments did not. Make the assignment of rth->dst.output consistent
with the surrounding code.
Signed-off-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Acked-by: default avatarDavid Ahern <dsa@cumulusnetworks.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 21de12ee
...@@ -304,7 +304,7 @@ static int vrf_rt6_create(struct net_device *dev) ...@@ -304,7 +304,7 @@ static int vrf_rt6_create(struct net_device *dev)
dst_hold(&rt6->dst); dst_hold(&rt6->dst);
rt6->rt6i_table = rt6i_table; rt6->rt6i_table = rt6i_table;
rt6->dst.output = vrf_output6; rt6->dst.output = vrf_output6;
rcu_assign_pointer(vrf->rt6, rt6); rcu_assign_pointer(vrf->rt6, rt6);
rc = 0; rc = 0;
...@@ -403,7 +403,7 @@ static int vrf_rtable_create(struct net_device *dev) ...@@ -403,7 +403,7 @@ static int vrf_rtable_create(struct net_device *dev)
if (!rth) if (!rth)
return -ENOMEM; return -ENOMEM;
rth->dst.output = vrf_output; rth->dst.output = vrf_output;
rth->rt_table_id = vrf->tb_id; rth->rt_table_id = vrf->tb_id;
rcu_assign_pointer(vrf->rth, rth); rcu_assign_pointer(vrf->rth, rth);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment