compat: Detect and use inet_frags->lock.
authorJoe Stringer <joe@ovn.org>
Thu, 24 Dec 2015 19:06:18 +0000 (11:06 -0800)
committerJoe Stringer <joe@ovn.org>
Tue, 2 Feb 2016 22:27:05 +0000 (14:27 -0800)
commit55764d996d4896cfc5c82b3f8032a2d9000bc716
tree38014941a7e816b80bd6833f856578c5dda50321
parent1efdc8a64cf6e8e838d2932e0a02af3b0df2c64c
compat: Detect and use inet_frags->lock.

Prior to ab1c724f6330 ("inet: frag: use seqlock for hash rebuild")
upstream, a rwlock was used when rebuilding inet_frags. Rather than
using a version check to detect this, search for it in the header and
enable the code based on whether it exists.

Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
acinclude.m4
datapath/linux/compat/inet_fragment.c