[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200523.163532.187431052087652248.davem@davemloft.net>
Date: Sat, 23 May 2020 16:35:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wu000273@....edu
Cc: kuba@...nel.org, tariqt@...lanox.com, linux-rdma@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org, kjlu@....edu
Subject: Re: [PATCH v2] net/mlx4_core: fix a memory leak bug.
From: wu000273@....edu
Date: Fri, 22 May 2020 14:07:15 -0500
> From: Qiushi Wu <wu000273@....edu>
>
> 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: fe6f700d6cbb ("net/mlx4_core: Respond to operation request by firmware")
> Signed-off-by: Qiushi Wu <wu000273@....edu>
Applied.
Powered by blists - more mailing lists