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:26:45 +0000 (14:26 -0800)
commit8f00ece90408ce4fae82aaf110858bfaa0faf53a
tree0d4d40ad14ce8a184e4006f5f95dd4b52d42feb0
parent0e7c46c44079d52365767f2cc77f2c56cce3ff2e
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