[IB] uverbs: Avoid NULL pointer deref on CQ async event
authorRoland Dreier <rolandd@cisco.com>
Sun, 30 Oct 2005 17:50:04 +0000 (09:50 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 31 Oct 2005 15:10:32 +0000 (07:10 -0800)
Userspace CQs that have no completion event channel attached end up
with their cq_context set to NULL.  However, asynchronous events like
"CQ overrun" can still occur on such CQs, so add a uverbs_file member
to struct ib_ucq_object that we can follow to deliver these events.

Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found