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
File Mode Size
Documentation
arch
.gitignore -rw-r--r-- 43 bytes
Build -rw-r--r-- 410 bytes
Makefile -rw-r--r-- 2.3 KB
arch.h -rw-r--r-- 1.3 KB
builtin-check.c -rw-r--r-- 29.9 KB
builtin.h -rw-r--r-- 829 bytes
elf.c -rw-r--r-- 8.6 KB
elf.h -rw-r--r-- 2.3 KB
objtool.c -rw-r--r-- 3.0 KB
special.c -rw-r--r-- 4.6 KB
special.h -rw-r--r-- 1.1 KB
warn.h -rw-r--r-- 1.5 KB

back to top