[openib-general] [PATCH] Encapsulate finding of id in sa_query.c
Roland Dreier
roland at topspin.com
Mon Nov 8 11:45:41 PST 2004
Krishna> Good catch Sean. Yes, but since it is a race (hence
Krishna> uncommon), isn't it enough to let the ib_cancel_mad
Krishna> handle it ? It drops out if find_send_by_wr_id fails to
Krishna> find this entry.
Actually it's my catch :)
The problem is that
ib_cancel_mad(query->port->agent, query->id);
dereferences query, which might already be gone.
I think I have a clean way to fix it though.
- R.
More information about the general
mailing list