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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Nov 2016 17:08:56 +0000 (12:08 -0500)
commitb5c2d49544e5930c96e2632a7eece3f4325a1888
tree47308967f61f4da7e80a1fcfc5ddc19a78b73a63
parent30563f933a27eb9f9391a0e531dffde5182e422a
ip6_tunnel: disable caching when the traffic class is inherited

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>
net/ipv6/ip6_tunnel.c