https://github.com/torvalds/linux
Revision 90be7c8ab72853ff9fc407f01518a898df1f3045 authored by Majd Dibbiny on 27 October 2016, 13:36:39 UTC, committed by Doug Ledford on 17 November 2016, 01:03:44 UTC
We need to free dev->port when we fail to enable RoCE or
initialize node data.

Fixes: 0837e86a7a34 ('IB/mlx5: Add per port counters')
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
1 parent 3c7ba57
History
Tip revision: 90be7c8ab72853ff9fc407f01518a898df1f3045 authored by Majd Dibbiny on 27 October 2016, 13:36:39 UTC
IB/mlx5: Fix memory leak in query device
Tip revision: 90be7c8

back to top