summaryrefslogtreecommitdiff
path: root/datapath
diff options
context:
space:
mode:
authorJoe Stringer <joe@ovn.org>2016-07-12 15:26:22 -0700
committerJoe Stringer <joe@ovn.org>2016-08-01 14:16:20 -0700
commit78f4537f72cb1cdb4cf851e03477c43a9f7554e5 (patch)
treef970aefc955adfe258e7d296ac8bec3598595a61 /datapath
parentfc00853c9cda8015fc521ae48752e1d46195527c (diff)
downloadopenvswitch-78f4537f72cb1cdb4cf851e03477c43a9f7554e5.tar.gz
compat: Remove inet_frag_evictor backport.
Kernel 3.7 and lower are now unsupported, remove this fragment. Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Pravin B Shelar <pshelar@ovn.org>
Diffstat (limited to 'datapath')
-rw-r--r--datapath/linux/compat/include/net/inet_frag.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/datapath/linux/compat/include/net/inet_frag.h b/datapath/linux/compat/include/net/inet_frag.h
index 49c1bceb6..332b1a6db 100644
--- a/datapath/linux/compat/include/net/inet_frag.h
+++ b/datapath/linux/compat/include/net/inet_frag.h
@@ -4,15 +4,6 @@
#include <linux/version.h>
#include_next <net/inet_frag.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
-#define inet_frag_evictor(nf, f, force) \
- do { \
- if (force || atomic_read(&nf->mem) > nf->high_thresh) { \
- inet_frag_evictor(nf, f); \
- } \
- } while (0)
-#endif
-
#ifdef HAVE_INET_FRAGS_LAST_IN
#define q_flags(q) (q->last_in)
#define qp_flags(qp) (qp->q.last_in)