Commit bd34a0d3 authored by David Goulet's avatar David Goulet 🤘
Browse files

sched: Compare channel pointer in the socket table


Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent e0984b8a
......@@ -51,7 +51,7 @@ socket_table_ent_hash(const socket_table_ent_t *ent)
static unsigned
socket_table_ent_eq(const socket_table_ent_t *a, const socket_table_ent_t *b)
{
return a->chan->global_identifier == b->chan->global_identifier;
return a->chan == b->chan;
}
typedef HT_HEAD(socket_table_s, socket_table_ent_s) socket_table_t;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment