]> git.proxmox.com Git - ovs.git/commitdiff
compat: Remove inet_frag_evictor backport.
authorJoe Stringer <joe@ovn.org>
Tue, 12 Jul 2016 22:26:22 +0000 (15:26 -0700)
committerJoe Stringer <joe@ovn.org>
Mon, 1 Aug 2016 21:16:20 +0000 (14:16 -0700)
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>
datapath/linux/compat/include/net/inet_frag.h

index 49c1bceb695a9cd024bde92a40f6951a51b20e97..332b1a6db950a5fd37c6d4dadc3bdd5cd3325ba9 100644 (file)
@@ -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)