hmap_remove(&backer->recirc_map, &node->hmap_node);
ovs_mutex_unlock(&backer->recirc_mutex);
recirc_id_free(backer->rid_pool, node->recirc_id);
+
+ if (node->ofproto != ofproto) {
+ VLOG_ERR("recirc_id %"PRIu32", freed by incorrect ofproto (%s),"
+ " expect ofproto (%s)", node->recirc_id, ofproto->up.name,
+ node->ofproto->up.name);
+ }
+
/* RCU postpone the free, since other threads may be referring
* to 'node' at same time. */
ovsrcu_postpone(free, node);
# Should generate recirc_id(0x12d),dp_hash(0xcf/0xff).
AT_CHECK([ovs-appctl netdev-dummy/receive p5 "in_port(5),eth(src=50:54:00:00:00:05,dst=50:54:00:00:01:00),eth_type(0x0800),ipv4(src=10.0.0.2,dst=10.0.0.1,proto=1,tos=0,ttl=64,frag=no)"])
-ovs-appctl time/warp 5000 100
-
# Forces revalidators to update all stats.
AT_CHECK([ovs-appctl upcall/disable-megaflows], [0], [dnl
megaflows disabled