summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2005-10-30 18:50:04 +0100
committerRoland Dreier <rolandd@cisco.com>2005-10-31 16:10:32 +0100
commit7162a3e0db34e914a8bc5bf74bbae0b386310cf8 (patch)
treeffd7eba03f29dd2932dd32ac4adc2921bde7644b /kernel
parent[IPoIB] use spin_trylock_irqsave() (diff)
downloadlinux-7162a3e0db34e914a8bc5bf74bbae0b386310cf8.tar.xz
linux-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 'kernel')
0 files changed, 0 insertions, 0 deletions