diff options
author | Xin Long <[email protected]> | 2019-11-06 17:01:04 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-11-06 21:14:21 -0800 |
commit | 0eb8eb2f96851e49d54c301aa3b0672706e6b171 (patch) | |
tree | a483d299fe2d969045027762de7f351e011be34f /tools/perf/scripts/python/stackcollapse.py | |
parent | f52f11ec8ad49f697e5158ff87c39b44dab45f51 (diff) |
lwtunnel: add options process for cmp_encap
When comparing two tun_info, dst_cache member should have been skipped,
as dst_cache is a per cpu pointer and they are always different values
even in two tun_info with the same keys.
So this patch is to skip dst_cache member and compare the key, mode and
options_len only. For the future opts setting support, also to compare
options.
Fixes: 2d79849903e0 ("lwtunnel: ip tunnel: fix multiple routes with different encap")
Signed-off-by: Xin Long <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions