aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/Kconfig
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2016-02-12 15:43:55 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-16 20:21:48 -0500
commite09acddf873bf775b208b452a4c3a3fd26fa9427 (patch)
tree456681d08a1ca3017875d6068c4e102633afff74 /net/ipv4/Kconfig
parentnet: replace dst_cache ip6_tunnel implementation with the generic one (diff)
downloadlinux-dev-e09acddf873bf775b208b452a4c3a3fd26fa9427.tar.xz
linux-dev-e09acddf873bf775b208b452a4c3a3fd26fa9427.zip
ip_tunnel: replace dst_cache with generic implementation
The current ip_tunnel cache implementation is prone to a race that will cause the wrong dst to be cached on cuncurrent dst cache miss and ip tunnel update via netlink. Replacing with the generic implementation fix the issue. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Suggested-and-acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/Kconfig')
-rw-r--r--net/ipv4/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/Kconfig b/net/ipv4/Kconfig
index 775824720b6b..395d82754626 100644
--- a/net/ipv4/Kconfig
+++ b/net/ipv4/Kconfig
@@ -186,6 +186,7 @@ config NET_IPGRE_DEMUX
config NET_IP_TUNNEL
tristate
+ select DST_CACHE
default n
config NET_IPGRE