compat: Detect and use inet_frag_queue->list_evictor.
[cascardo/ovs.git] / datapath / linux / compat / ip_fragment.c
index 1841c49..4fa5019 100644 (file)
@@ -78,7 +78,7 @@ struct ipfrag_skb_cb
 struct ipq {
        union {
                struct inet_frag_queue q;
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4,2,0)
+#ifndef HAVE_INET_FRAG_QUEUE_WITH_LIST_EVICTOR
                struct ovs_inet_frag_queue oq;
 #endif
        };