diff options
author | Matan Barak <matanb@mellanox.com> | 2014-12-14 16:18:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-15 11:34:53 -0500 |
commit | da315679e80635021e98de1306ff4eee0759ba57 (patch) | |
tree | 35ce69487bed726b3225d9bd320dd80d50e6a328 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 67e2c3883828b39548cee2091b36656787775d95 (diff) |
net/mlx4_core: Fixed memory leak and incorrect refcount in mlx4_load_one
The current mlx4_load_one has a memory leak as it always allocates
dev_cap, but frees it only on error.
In addition, even if VFs exist when mlx4_load_one is called,
we still need to notify probed VFs that we're loading (by
incrementing pf_loading).
Fixes: a0eacca948d2 ('net/mlx4_core: Refactor mlx4_load_one')
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions