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:30:44 +0000 (10:30 -0800)
commite0d45da35ec70f2224826a5a62ce66e505ee1962
tree037676f6db61b234d64b5c6f674bba4e2988fbff
parent63129291a986db37218316a7e11feab7ce87c05f
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