[ovs-git] [openvswitch/ovs] 4ceb6c: datapath: Fix missing symbols when required to use...

GitHub noreply at github.com
Thu Feb 5 18:28:27 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 4ceb6c87968da7bcf025e4d4aef1a8da81eb24b4
      https://github.com/openvswitch/ovs/commit/4ceb6c87968da7bcf025e4d4aef1a8da81eb24b4
  Author: Thomas Graf <tgraf at noironetworks.com>
  Date:   2015-02-05 (Thu, 05 Feb 2015)

  Changed paths:
    M datapath/linux/compat/gso.c
    M datapath/linux/compat/gso.h
    M datapath/linux/compat/include/net/vxlan.h
    M datapath/linux/compat/vxlan.c

  Log Message:
  -----------
  datapath: Fix missing symbols when required to use own VXLAN stack

Fixes an insufficient ifdef in compat/vxlan.c which caused required
symbols not to be included in the build. The declarations were properly
enabled so the build would succeed but the module would spit missing
symbols when being inserted.

The fix uses a new define USE_UPSTREAM_VXLAN which is set in the compat
header <net/vxlan.h> as required. This centralizes the decision when to
include VXLAN compat code to a single place which eases further changes.

Reported-by: Pravin Shelar <pshelar at nicira.com>
Signed-off-by: Thomas Graf <tgraf at noironetworks.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>




More information about the git mailing list