commit | 23263ec86a5f44312d2899323872468752324107 | [log] [tgz] |
---|---|---|
author | Eli Cooper <elicooper@gmx.com> | Mon Dec 25 10:43:49 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 02 12:31:12 2018 -0500 |
tree | 894af6206bab14c8f17c0f99ace4031954c3b807 | |
parent | 55a5ec9b77106ffc05e8c40d7568432bf4696d7b [diff] |
ip6_tunnel: disable dst caching if tunnel is dual-stack When an ip6_tunnel is in mode 'any', where the transport layer protocol can be either 4 or 41, dst_cache must be disabled. This is because xfrm policies might apply to only one of the two protocols. Caching dst would cause xfrm policies for one protocol incorrectly used for the other. Signed-off-by: Eli Cooper <elicooper@gmx.com> Signed-off-by: David S. Miller <davem@davemloft.net>