lkml.org 
[lkml]   [2020]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] net/mlx4_core: fix a memory leak bug.
On Fri, 22 May 2020 00:23:48 -0500 wu000273@umn.edu wrote:
> From: Qiushi Wu <wu000273@umn.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: fe6f700d6cbb7 ("Respond to operation request by firmware")
> Signed-off-by: Qiushi Wu <wu000273@umn.edu>

Fixes tag: Fixes: fe6f700d6cbb7 ("Respond to operation request by firmware")
Has these problem(s):
- Subject does not match target commit subject
Just use
git log -1 --format='Fixes: %h ("%s")'

\
 
 \ /
  Last update: 2020-05-22 19:24    [W:0.032 / U:1.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site