compat: Detect and use inet_frag_queue->list_evictor.
authorJoe Stringer <joe@ovn.org>
Thu, 24 Dec 2015 18:41:35 +0000 (10:41 -0800)
committerJoe Stringer <joe@ovn.org>
Thu, 4 Feb 2016 18:32:53 +0000 (10:32 -0800)
commit4011d1bb2ff0811e65e7ffeb3e39c4f16ccf5df2
treeca807db5af84831e9e41948ad4216cf1731ede21
parented04577298f8383b1aa934a0f942758fcb8e043f
compat: Detect and use inet_frag_queue->list_evictor.

Kernels 3.17 to 4.2 have a work queue to evict old fragments, but do not
track these fragments in an eviction list. On these kernels, we detect
the absence of the list_evictor and provide one. This commit fixes the
reliance on kernel versions in the case that this functionality is
backported.

Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
acinclude.m4
datapath/linux/compat/include/net/inet_frag.h
datapath/linux/compat/inet_fragment.c
datapath/linux/compat/ip_fragment.c