]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
winverbs: fix event handler crash
authorSean Hefty <sean.hefty@intel.com>
Mon, 8 Nov 2010 17:59:37 +0000 (09:59 -0800)
committerSean Hefty <sean.hefty@intel.com>
Mon, 8 Nov 2010 17:59:37 +0000 (09:59 -0800)
Winverbs registers for HCA events using the WV_RDMA_DEVICE object,
rather than the WV_DEVICE object.  The latter corresponds to a user's
opened device and is where HCA events should be reported.

This fixes a crash in winverbs when reporting a port down event.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>

No differences found