X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Finclude%2Fnet%2Fsctp%2Fchecksum.h;h=7832abce01348a10351d37a29b82f74b2190e26a;hb=c4e976db1343aac88dec4b457bdf5d0277f247e6;hp=11fb0b63424c9aff4c70de230439c519910e8d20;hpb=10f72e3da94f99cf71ebe49cc03ef49d88a55656;p=sliver-openvswitch.git diff --git a/datapath/linux/compat/include/net/sctp/checksum.h b/datapath/linux/compat/include/net/sctp/checksum.h index 11fb0b634..7832abce0 100644 --- a/datapath/linux/compat/include/net/sctp/checksum.h +++ b/datapath/linux/compat/include/net/sctp/checksum.h @@ -1,15 +1,9 @@ #ifndef __SCTP_CHECKSUM_WRAPPER_H #define __SCTP_CHECKSUM_WRAPPER_H 1 -#include - -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) -#include -#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25) */ #include_next -#endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,12,0) +#ifndef HAVE_SCTP_COMPUTE_CKSUM static inline __le32 sctp_compute_cksum(const struct sk_buff *skb, unsigned int offset) {