X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Finclude%2Fnet%2Fsctp%2Fchecksum.h;h=7832abce01348a10351d37a29b82f74b2190e26a;hb=c4e976db1343aac88dec4b457bdf5d0277f247e6;hp=59d209b20d41af74e78f0a0a9687834e161053b3;hpb=004a624912175a696dc6dd447f267d01cf07ce1f;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 59d209b20..7832abce0 100644 --- a/datapath/linux/compat/include/net/sctp/checksum.h +++ b/datapath/linux/compat/include/net/sctp/checksum.h @@ -1,10 +1,9 @@ #ifndef __SCTP_CHECKSUM_WRAPPER_H #define __SCTP_CHECKSUM_WRAPPER_H 1 -#include #include_next -#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) {