compat: Detect and use upstream ip_fragment().
authorJoe Stringer <joe@ovn.org>
Tue, 2 Feb 2016 23:19:02 +0000 (15:19 -0800)
committerJoe Stringer <joe@ovn.org>
Thu, 4 Feb 2016 18:32:53 +0000 (10:32 -0800)
commit5dea489f944a59ae3ea61da2237e744c2e5b9a99
tree6600fc51e5c7ba23aa21e802563a9454779cf83c
parent4011d1bb2ff0811e65e7ffeb3e39c4f16ccf5df2
compat: Detect and use upstream ip_fragment().

Previously a version check was used to determine whether the upstream
ip_fragment() should be used or the backported version. The actual test
is for whether upstream commit d6b915e29f4a ("ip_fragment: don't forward
defragmented DF packet") is present, so test for that instead.

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/include/net/ip.h
datapath/linux/compat/inet_fragment.c
datapath/linux/compat/ip_fragment.c