ip6_tunnel: disable caching when the traffic class is inherited
authorPaolo Abeni <pabeni@redhat.com>
Wed, 16 Nov 2016 15:26:46 +0000 (16:26 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 16 Mar 2017 02:18:54 +0000 (02:18 +0000)
commit0fe8ea69be3e0ca9873aef5729c64dfa5b1525e4
tree453052126d812bf1794fe9490c0b2bbcdeb15db9
parent058627c4b45f3d3b34925cf1217c7e519967fad6
ip6_tunnel: disable caching when the traffic class is inherited

[ Upstream commit b5c2d49544e5930c96e2632a7eece3f4325a1888 ]

If an ip6 tunnel is configured to inherit the traffic class from
the inner header, the dst_cache must be disabled or it will foul
the policy routing.

The issue is apprently there since at leat Linux-2.6.12-rc2.

Reported-by: Liam McBirnie <liam.mcbirnie@boeing.com>
Cc: Liam McBirnie <liam.mcbirnie@boeing.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/ipv6/ip6_tunnel.c