git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Remove checksum compat support
[sliver-openvswitch.git]
/
datapath
/
linux
/
compat
/
include
/
net
/
sctp
/
checksum.h
diff --git
a/datapath/linux/compat/include/net/sctp/checksum.h
b/datapath/linux/compat/include/net/sctp/checksum.h
index
11fb0b6
..
59d209b
100644
(file)
--- a/
datapath/linux/compat/include/net/sctp/checksum.h
+++ b/
datapath/linux/compat/include/net/sctp/checksum.h
@@
-2,12
+2,7
@@
#define __SCTP_CHECKSUM_WRAPPER_H 1
#include <linux/version.h>
#define __SCTP_CHECKSUM_WRAPPER_H 1
#include <linux/version.h>
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
-#include <net/sctp/sctp.h>
-#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25) */
#include_next <net/sctp/checksum.h>
#include_next <net/sctp/checksum.h>
-#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,12,0)
static inline __le32 sctp_compute_cksum(const struct sk_buff *skb,
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,12,0)
static inline __le32 sctp_compute_cksum(const struct sk_buff *skb,