Re: [PATCH] ip6_tunnel: disable dst caching if tunnel is dual-stack

2018-01-02 Thread David Miller
From: Eli Cooper Date: Mon, 25 Dec 2017 10:43:49 +0800 > 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 pol

[PATCH] ip6_tunnel: disable dst caching if tunnel is dual-stack

2017-12-24 Thread Eli Cooper
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. Cc: sta...@