]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Check write() return value against size we tried to write
authorRoland Dreier <rolandd@cisco.com>
Fri, 21 Oct 2005 21:29:07 +0000 (21:29 +0000)
committerRoland Dreier <rolandd@cisco.com>
Thu, 9 Nov 2006 19:35:58 +0000 (11:35 -0800)
commit6a2a874a053b6a157d6db387672a0356041b6236
tree1e1cf485e111c12af619a3a535f217dd84896b42
parent3e6fa55bba5fd980d899a3327d90cf00d9de885f
Check write() return value against size we tried to write

In libibverbs post send, post recv and post SRQ recv marshalling code,
correct value that we check write() return value against so that we
check against the size we actually try to write, instead of just
sizeof cmd.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
ChangeLog
src/cmd.c