]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Pass imm_data from ib_uverbs_send_wr to ib_send_wr correctly
authorLatchesar Ionkov <lucho@ionkov.net>
Sat, 19 Oct 2013 21:55:41 +0000 (15:55 -0600)
committerRoland Dreier <roland@purestorage.com>
Fri, 8 Nov 2013 22:42:54 +0000 (14:42 -0800)
commit40dd3bc04f12468277812894b56e79ea4a14aa38
treeb6da2991326a0cf08d4d5dc856468913ae71a14c
parentbda5560353da942b7837a6fdb77696dce33e7f90
IB/core: Pass imm_data from ib_uverbs_send_wr to ib_send_wr correctly

Currently, we don't copy the immediate data from the userspace struct
to the kernel one when UD messages are being sent.

This patch makes sure that the immediate data is set correctly.

Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/uverbs_cmd.c