]> git.openfabrics.org - ~shefty/rdma-win.git/commit
winverbs/winmad: check return value of DeviceIoControl
authorSean Hefty <sean.hefty@intel.com>
Wed, 15 Sep 2010 16:22:45 +0000 (16:22 +0000)
committerSean Hefty <sean.hefty@intel.com>
Wed, 15 Sep 2010 16:22:45 +0000 (16:22 +0000)
commitd0457bad2eea2492fbc3fb8ee01200fb22e3337c
treeff7064ca02706e29b71527ecccae163ce2676724
parentc6b8ad1fc77e9e70717989ee9842cbecd5e4ca0a
winverbs/winmad: check return value of DeviceIoControl

We need to check the return value from DeviceIoControl before
calling GetOverlappedResult to avoid potential hangs.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2928 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/core/winmad/user/wm_provider.cpp
trunk/core/winverbs/user/wv_base.cpp