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:31:28 +0000 (10:31 -0800)
commit0f09d6e30dc59fdb5f05530a160f42b3487481d6
tree77ec31f3b51147b1ba97c9729a188401e6afb8cb
parente0d45da35ec70f2224826a5a62ce66e505ee1962
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