+ /*
+ * For debugging purposes, build both API users and rculfhash
+ * library with CDS_LFHT_ITER_DEBUG defined. This enables extra
+ * consistency checks for calls to a cds_lfht_next() or
+ * cds_lfht_next_duplicate() after the iterator has been
+ * re-purposed to iterate on a different hash table. This is a
+ * common programming mistake when performing hash table lookup
+ * nested in a hash table traversal.
+ */
+#ifdef CONFIG_CDS_LFHT_ITER_DEBUG
+ struct cds_lfht *lfht;
+#endif