Message ID | 20160712222623.9079-6-joe@ovn.org |
---|---|
State | Accepted |
Headers | show |
diff --git a/datapath/linux/compat/include/net/inet_frag.h b/datapath/linux/compat/include/net/inet_frag.h index 49c1bceb695a..332b1a6db950 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)
Kernel 3.7 and lower are now unsupported, remove this fragment. Signed-off-by: Joe Stringer <joe@ovn.org> --- datapath/linux/compat/include/net/inet_frag.h | 9 --------- 1 file changed, 9 deletions(-)