From: Roland Dreier Date: Sun, 30 Oct 2005 17:50:04 +0000 (-0800) Subject: [IB] uverbs: Avoid NULL pointer deref on CQ async event X-Git-Tag: v2.6.15-rc1~726^2~2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7162a3e0db34e914a8bc5bf74bbae0b386310cf8;p=pandora-kernel.git [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 --- Reading git-diff-tree failed