aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2019-02-28 14:56:04 +0100
committerDavid S. Miller <davem@davemloft.net>2019-03-01 22:07:56 -0800
commitcf1c9ccba7308e48a68fa77f476287d9d614e4c7 (patch)
treea76897d21b58446116b37851a0bfbd9277396e55 /tools
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff)
downloadlinux-dev-cf1c9ccba7308e48a68fa77f476287d9d614e4c7.tar.xz
linux-dev-cf1c9ccba7308e48a68fa77f476287d9d614e4c7.zip
geneve: correctly handle ipv6.disable module parameter
When IPv6 is compiled but disabled at runtime, geneve_sock_add returns -EAFNOSUPPORT. For metadata based tunnels, this causes failure of the whole operation of bringing up the tunnel. Ignore failure of IPv6 socket creation for metadata based tunnels caused by IPv6 not being available. This is the same fix as what commit d074bf960044 ("vxlan: correctly handle ipv6.disable module parameter") is doing for vxlan. Note there's also commit c0a47e44c098 ("geneve: should not call rt6_lookup() when ipv6 was disabled") which fixes a similar issue but for regular tunnels, while this patch is needed for metadata based tunnels. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions