diff options
| author | Martin KaFai Lau <[email protected]> | 2015-05-22 20:56:01 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-05-25 13:25:34 -0400 |
| commit | b197df4f0f3782782e9ea8996e91b65ae33e8dd9 (patch) | |
| tree | e64198481a37b7ede5e21cd8cb5b6f03e215edb0 /tools/perf/scripts/python | |
| parent | 45e4fd26683c9a5f88600d91b08a484f7f09226a (diff) | |
ipv6: Add rt6_get_cookie() function
Instead of doing the rt6->rt6i_node check whenever we need
to get the route's cookie. Refactor it into rt6_get_cookie().
It is a prep work to handle FLOWI_FLAG_KNOWN_NH and also
percpu rt6_info later.
Signed-off-by: Martin KaFai Lau <[email protected]>
Cc: Hannes Frederic Sowa <[email protected]>
Cc: Steffen Klassert <[email protected]>
Cc: Julian Anastasov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions