]> git.openfabrics.org - ~shefty/rdma-win.git/commit
winverbs/winmad: check return value of DeviceIoControl
authorSean Hefty <sean.hefty@intel.com>
Mon, 13 Sep 2010 23:00:30 +0000 (16:00 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 13 Sep 2010 23:00:30 +0000 (16:00 -0700)
commitf33070dd0187ac0cc355e47fd0c97f5de243f0af
treee0a336baf5ecfc37b867ad87df4aa629ac448200
parente9c1b343b19845a7d00673615f476d10f6925942
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>