datapath: Add net/ip6_checksum.h to stt.c
authorJason Kölker <jason@koelker.net>
Wed, 2 Sep 2015 22:40:24 +0000 (22:40 +0000)
committerJesse Gross <jesse@nicira.com>
Wed, 2 Sep 2015 22:46:50 +0000 (15:46 -0700)
commit554daf066bf4a8eb7bbc8edc1a877a3afc0de38d
tree59ed05d64fbb13e7de9cf8f33ad9cea0955474ba
parente4e74c3a2b9a83544cb976e5049fb65da9ecbed5
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@koelker.net>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/stt.c