diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2016-07-21 23:03:09 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-02 19:02:41 +0300 |
commit | eaa74ec7329a48a4b724d8de440b3a2cbaabf7c8 (patch) | |
tree | e8d87bbfa7811c8c7ce7eb601fd522177c80a831 /include/rdma | |
parent | 523d939ef98fd712632d93a5a2b588e477a7565e (diff) | |
download | linux-eaa74ec7329a48a4b724d8de440b3a2cbaabf7c8.tar.xz |
IB/core: Make rdma_rw_ctx_init() initialize all used fields
Some but not all callers of rdma_rw_ctx_init() zero-initialize
struct rdma_rw_ctx. Hence make rdma_rw_ctx_init() initialize all
work request fields that will be read by ib_post_send().
Fixes: a060b5629ab0 ("IB/core: generic RDMA READ/WRITE API")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Steve Wise <swise@opengridcomputing.com>
Tested-by: Laurence Oberman <loberman@redhat.com>
Cc: Parav Pandit <pandit.parav@gmail.com>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: <stable@vger.kernel.org> #v4.7+
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions