diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2017-08-17 15:50:35 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-24 16:27:10 -0400 |
commit | 55f2467cd717241dd941153d4db1e23c91aecf98 (patch) | |
tree | b64cfd2fa74cb52c71c727840ed875915c523093 /net/atm | |
parent | fba02e6cb775078bc0bdf207197e0a44b1f85aca (diff) |
RDMA/mlx4: Fix create qp command alignment
Avoid extra padding by replacing the order of inl_recv_sz and reserved,
otherwise 'mlx4_ib_create_qp' structure might be larger than legacy user
input leading to copy of some garbage data from the user space buffer.
Fixes: ea30b966f7dd ('IB/mlx4: Add inline-receive support')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions