linux_dsm_epyc7002/drivers/net/ethernet/mellanox/mlx4
Qiushi Wu febfd9d3c7 net/mlx4_core: fix a memory leak bug.
In function mlx4_opreq_action(), pointer "mailbox" is not released,
when mlx4_cmd_box() return and error, causing a memory leak bug.
Fix this issue by going to "out" label, mlx4_free_cmd_mailbox() can
free this pointer.

Fixes: fe6f700d6c ("net/mlx4_core: Respond to operation request by firmware")
Signed-off-by: Qiushi Wu <wu000273@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-23 16:34:37 -07:00
..
alloc.c
catas.c
cmd.c
cq.c
crdump.c mlx4: fix "initializer element not constant" compiler error 2020-03-29 22:09:39 -07:00
en_clock.c
en_cq.c
en_dcb_nl.c
en_ethtool.c net: mlx4: reject unsupported coalescing params 2020-03-10 16:28:53 -07:00
en_main.c
en_netdev.c mlx4: use new txqueue timeout argument 2019-12-12 21:38:57 -08:00
en_port.c
en_port.h
en_resources.c
en_rx.c
en_selftest.c
en_tx.c net/mlx4_en: avoid indirect call in TX completion 2020-04-18 15:30:22 -07:00
eq.c
fw_qos.c
fw_qos.h
fw.c net/mlx4_core: fix a memory leak bug. 2020-05-23 16:34:37 -07:00
fw.h
icm.c
icm.h
intf.c
Kconfig
main.c net/mlx4_core: Fix use of ENOSPC around mlx4_counter_alloc() 2020-05-04 10:42:06 -07:00
Makefile
mcg.c net: mlx4: Use scnprintf() for avoiding potential buffer overflow 2020-03-15 17:06:22 -07:00
mlx4_en.h
mlx4_stats.h
mlx4.h
mr.c
pd.c
port.c
profile.c
qp.c
reset.c
resource_tracker.c net/mlx4_core: Dynamically set guaranteed amount of counters per VF 2019-10-29 16:29:43 -07:00
sense.c
srq.c