[ovs-git] [openvswitch/ovs] 1db92c: datapath: backport: vxlan: correctly handle ipv6.d...

GitHub noreply at github.com
Thu May 4 02:00:36 UTC 2017


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: 1db92ca9175690d43400247e71d1a4f6b5ac7743
      https://github.com/openvswitch/ovs/commit/1db92ca9175690d43400247e71d1a4f6b5ac7743
  Author: Jiri Benc <jbenc at redhat.com>
  Date:   2017-05-03 (Wed, 03 May 2017)

  Changed paths:
    M datapath/linux/compat/vxlan.c

  Log Message:
  -----------
  datapath: backport: vxlan: correctly handle ipv6.disable module parameter

upstream commit:
    commit d074bf9600443403aa24fbc12c1f18eadc90f5aa
    Author: Jiri Benc <jbenc at redhat.com>
    Date:   Thu Apr 27 21:24:35 2017 +0200

    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 at redhat.com>
    Signed-off-by: David S. Miller <davem at davemloft.net>

Signed-off-by: Pravin B Shelar <pshelar at ovn.org>
Acked-by: Joe Stringer <joe at ovn.org>




More information about the git mailing list