[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190822.161147.1083816539940454278.davem@davemloft.net>
Date: Thu, 22 Aug 2019 16:11:47 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wenwen@...uga.edu
Cc: skalluru@...vell.com, aelior@...vell.com,
GR-everest-linux-l2@...vell.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] qed: Add cleanup in qed_slowpath_start()
From: Wenwen Wang <wenwen@...uga.edu>
Date: Tue, 20 Aug 2019 23:46:36 -0500
> If qed_mcp_send_drv_version() fails, no cleanup is executed, leading to
> memory leaks. To fix this issue, introduce the label 'err4' to perform the
> cleanup work before returning the error.
>
> Signed-off-by: Wenwen Wang <wenwen@...uga.edu>
Applied.
Powered by blists - more mailing lists