summaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2019-04-16 23:36:09 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-18 08:10:47 +0200
commit8ff2e5b26cb84b1b0f502c0b7a3c62e4c4d86acc (patch)
tree3676e0050d1656c48ba403efbe74053c73e2f364 /net/ipv6/route.c
parentipv6: Pass fib6_result to rt6_select and find_rr_leaf (diff)
downloadlinux-8ff2e5b26cb84b1b0f502c0b7a3c62e4c4d86acc.tar.xz
linux-8ff2e5b26cb84b1b0f502c0b7a3c62e4c4d86acc.zip
ipv6: Pass fib6_result to fib6_table_lookup tracepoint
Change fib6_table_lookup tracepoint to take the fib6_result and use the fib6_info and fib6_nh from it. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/ipv6/route.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index a466e2e478e8..405e0784d13b 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -1130,7 +1130,7 @@ restart:
}
out:
- trace_fib6_table_lookup(net, res.f6i, table, fl6);
+ trace_fib6_table_lookup(net, &res, table, fl6);
rcu_read_unlock();
@@ -1865,7 +1865,7 @@ redo_rt6_select:
}
}
- trace_fib6_table_lookup(net, res.f6i, table, fl6);
+ trace_fib6_table_lookup(net, &res, table, fl6);
return res.f6i;
}
@@ -2538,7 +2538,7 @@ out:
rcu_read_unlock();
- trace_fib6_table_lookup(net, rt, table, fl6);
+ trace_fib6_table_lookup(net, &res, table, fl6);
return ret;
};