2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-29 15:28:56 +00:00
Files
openvswitch/datapath/linux/compat/include/net/inet_frag.h

17 lines
390 B
C
Raw Normal View History

#ifndef __NET_INET_FRAG_WRAPPER_H
#define __NET_INET_FRAG_WRAPPER_H 1
#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
#endif /* inet_frag.h */