[ovs-git] [openvswitch/ovs] 290063: datapath: Add net/ip6_checksum.h to stt.c

GitHub noreply at github.com
Wed Sep 2 22:48:09 UTC 2015


  Branch: refs/heads/branch-2.4
  Home:   https://github.com/openvswitch/ovs
  Commit: 2900636cb4bd26ea8d48fbbf96a8bad73c56684c
      https://github.com/openvswitch/ovs/commit/2900636cb4bd26ea8d48fbbf96a8bad73c56684c
  Author: Jason Kölker <jason at koelker.net>
  Date:   2015-09-02 (Wed, 02 Sep 2015)

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

  Log Message:
  -----------
  datapath: Add net/ip6_checksum.h to stt.c

`csum_ipv6_magic` is an asm inline on most platforms. However if it is
not defined (like on ppc64le) including <net/ip6_checksum.h> will fall
back to the c implementation by wrapping it in an
`#ifndef _HAVE_ARCH_IPV6_CSUM`.

Signed-off-by: Jason Kölker <jason at koelker.net>
Signed-off-by: Jesse Gross <jesse at nicira.com>




More information about the git mailing list