Skip to content

Commit

Permalink
net: ipv6: route.c:fix indentation
Browse files Browse the repository at this point in the history
The series of space has been replaced by tab space
wherever required.

Signed-off-by: Shubhankar Kuranagatti <shubhankarvk@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Shubhankar Kuranagatti authored and David S. Miller committed Mar 10, 2021
1 parent 847cbfc commit 13fdb94
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -2378,7 +2378,7 @@ u32 rt6_multipath_hash(const struct net *net, const struct flowi6 *fl6,

memset(&hash_keys, 0, sizeof(hash_keys));

if (!flkeys) {
if (!flkeys) {
skb_flow_dissect_flow_keys(skb, &keys, flag);
flkeys = &keys;
}
Expand Down Expand Up @@ -2518,20 +2518,20 @@ struct dst_entry *ip6_route_output_flags(struct net *net,
struct flowi6 *fl6,
int flags)
{
struct dst_entry *dst;
struct rt6_info *rt6;
struct dst_entry *dst;
struct rt6_info *rt6;

rcu_read_lock();
dst = ip6_route_output_flags_noref(net, sk, fl6, flags);
rt6 = (struct rt6_info *)dst;
/* For dst cached in uncached_list, refcnt is already taken. */
if (list_empty(&rt6->rt6i_uncached) && !dst_hold_safe(dst)) {
dst = &net->ipv6.ip6_null_entry->dst;
dst_hold(dst);
}
rcu_read_unlock();
rcu_read_lock();
dst = ip6_route_output_flags_noref(net, sk, fl6, flags);
rt6 = (struct rt6_info *)dst;
/* For dst cached in uncached_list, refcnt is already taken. */
if (list_empty(&rt6->rt6i_uncached) && !dst_hold_safe(dst)) {
dst = &net->ipv6.ip6_null_entry->dst;
dst_hold(dst);
}
rcu_read_unlock();

return dst;
return dst;
}
EXPORT_SYMBOL_GPL(ip6_route_output_flags);

Expand Down

0 comments on commit 13fdb94

Please sign in to comment.