]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Fix buffer size computation in ibv_cmd_get_context_v2()
authorRoland Dreier <rolandd@cisco.com>
Sun, 23 Oct 2005 22:32:47 +0000 (22:32 +0000)
committerRoland Dreier <rolandd@cisco.com>
Thu, 9 Nov 2006 19:35:58 +0000 (11:35 -0800)
commit99ffd10ad27caaba5995b9b667b53982c3502418
tree62ff495d8bbfee858be91c09b5a583dc046bd109
parent16dbfc8e2b0b3ed5f94652587c79cd7083da033f
Fix buffer size computation in ibv_cmd_get_context_v2()

Correct silly mistake in ibv_cmd_get_context_v2() computation of size
of buffer for old ABI command: we need to use sizeof *cmd instead of
sizeof cmd, since cmd is a pointer.

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