]> git.openfabrics.org - ~shefty/rdma-win.git/commit
mlx4u.dll: initialize qp pointer before use
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 20 Jan 2009 21:35:44 +0000 (21:35 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 20 Jan 2009 21:35:44 +0000 (21:35 +0000)
commitaf88dd76746adf9d467d143b94dcce0d3801e3db
treea9921a9a5e9f1e02866ff984d2a183c60e30c39c
parent9ca9f84a1cddeeb49859506f65a676b85aa3a8e5
mlx4u.dll: initialize qp pointer before use

We need to initialize the qp pointer to NULL to avoid accessing some random memory location when polling for completions.  Without this, calls to mlx4_poll_cq_array() can crash in mlx4_poll_one().

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1859 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/hw/mlx4/user/hca/cq.c