]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitdbff26e44dc3ec4de6578733b054a0114652a764
tree40f7cae1c9e0d10542bb9777ac7dd9031340746c
parent777ec2b2a3f2760505db395de1a9fa4115d74548
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: 09a7d9eca1a6 '{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