net/mlx5_core: Avoid copying outbox in aysnc command completion
net/mlx5_core: Avoid copying outbox in aysnc command completion

Avoid copying to the output buffer in cmd_exec since this is done after the
command is completed. Failure to do this may cause cases where the callback
handler is called before the copy done by cmd_exec which then overwrites it.

Reported-by: Tamer Hleihel <76a4fdd63534e72093b492682086be4b0342f823@mellanox.com>
Signed-off-by: Eli Cohen <3ca62a2ad87376be2697209a1770e1afdbbba220@mellanox.com>
Signed-off-by: Saeed Mahameed <0a17f7549b0bac96abb27a38bc47f122efaba664@mellanox.com>
Signed-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs