Linux-RDMA Archive on
 help / color / Atom feed
From: David Miller <>
Subject: Re: [PATCH v2] net/mlx4_core: fix a memory leak bug.
Date: Sat, 23 May 2020 16:35:32 -0700 (PDT)
Message-ID: <> (raw)
In-Reply-To: <>

Date: Fri, 22 May 2020 14:07:15 -0500

> From: Qiushi Wu <>
> 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 <>


      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-22 19:07 wu000273
2020-05-23 23:35 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-RDMA Archive on

Archives are clonable:
	git clone --mirror linux-rdma/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rdma linux-rdma/ \
	public-inbox-index linux-rdma

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone