Searched hist:"0 eb8eb2f96851e49d54c301aa3b0672706e6b171" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/ipv4/ |
H A D | ip_tunnel_core.c | diff 0eb8eb2f96851e49d54c301aa3b0672706e6b171 Wed Nov 06 03:01:04 CST 2019 Xin Long <lucien.xin@gmail.com> 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 <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|