/*
* Called from the compare thread on the primary
- * for compare connection
+ * for compare packet with secondary list of the
+ * specified connection when a new packet was
+ * queued to it.
*/
static void colo_compare_connection(void *opaque, void *user_data)
{
pri_rs->packet_len,
pri_rs->vnet_hdr_len);
} else {
- /* compare connection */
+ /* compare packet in the specified connection */
colo_compare_connection(conn, s);
}
}
if (packet_enqueue(s, SECONDARY_IN, &conn)) {
trace_colo_compare_main("secondary: unsupported packet in");
} else {
- /* compare connection */
+ /* compare packet in the specified connection */
colo_compare_connection(conn, s);
}
}