compat: Detect and use inet_frag_queue->last_in.
authorJoe Stringer <joe@ovn.org>
Thu, 24 Dec 2015 18:40:02 +0000 (10:40 -0800)
committerJoe Stringer <joe@ovn.org>
Tue, 2 Feb 2016 22:27:04 +0000 (14:27 -0800)
commit30ed3d0b73dd2f7185702426d036db904d64b92d
tree4057be8fa9dd727c1860976300a0cbcd834fc510
parentf9f4e9fbeafd5d4c0737f0f3f2f3473b8d47287c
compat: Detect and use inet_frag_queue->last_in.

Kernels 3.17 and older have this field, while newer kernels use the
'flags' field. Detect this in the build in case anyone backports this
change to an older kernel.

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