]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix error flow in CREATE_QP command
authorMoni Shoua <monis@mellanox.com>
Mon, 4 Dec 2017 06:59:25 +0000 (08:59 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 19 Dec 2017 21:24:02 +0000 (23:24 +0200)
commit8421628a273f470943403ea87da669ec5858c85c
tree40f7cae1c9e0d10542bb9777ac7dd9031340746c
parent61f5d1b97d4f563baa8ad04b12d894e91b988e02
net/mlx5: Fix error flow in CREATE_QP command

In error flow, when DESTROY_QP command should be executed, the wrong
mailbox was set with data, not the one that is written to hardware,
Fix that.

Fixes: f69ed11d54b6 '{net,IB}/mlx5: QP/XRCD commands via mlx5 ifc'
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/qp.c