1 #ifndef __NET_INET_FRAG_WRAPPER_H
2 #define __NET_INET_FRAG_WRAPPER_H 1
4 #include <linux/version.h>
5 #include_next <net/inet_frag.h>
7 #if LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)
8 #define inet_frag_evictor(nf, f, force) \
10 if (force || atomic_read(&nf->mem) > nf->high_thresh) { \
11 inet_frag_evictor(nf, f); \
16 #endif /* inet_frag.h */