summaryrefslogtreecommitdiff
path: root/block/bio.c
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2017-04-27 21:24:35 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-30 22:30:13 -0400
commitd074bf9600443403aa24fbc12c1f18eadc90f5aa (patch)
tree011a863a1a32177763ef2e4bebcc13976b0bbc42 /block/bio.c
parent90a1bb98167c75b65e2a0527ef9200d172be3442 (diff)
vxlan: correctly handle ipv6.disable module parameter
When IPv6 is compiled but disabled at runtime, __vxlan_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. Fixes: b1be00a6c39f ("vxlan: support both IPv4 and IPv6 sockets in a single vxlan device") Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions