diff options
author | 2005-10-30 09:50:04 -0800 | |
---|---|---|
committer | 2005-10-31 07:10:32 -0800 | |
commit | 7162a3e0db34e914a8bc5bf74bbae0b386310cf8 (patch) | |
tree | ffd7eba03f29dd2932dd32ac4adc2921bde7644b /ipc/mqueue.c | |
parent | [IPoIB] use spin_trylock_irqsave() (diff) | |
download | linux-dev-7162a3e0db34e914a8bc5bf74bbae0b386310cf8.tar.xz linux-dev-7162a3e0db34e914a8bc5bf74bbae0b386310cf8.zip |
[IB] uverbs: Avoid NULL pointer deref on CQ async event
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>
Diffstat (limited to 'ipc/mqueue.c')
0 files changed, 0 insertions, 0 deletions