Re: [PATCH v2] qed: Add cleanup in qed_slowpath_start()

2019-08-22 Thread David Miller
From: Wenwen Wang 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 Applied.

RE: [PATCH v2] qed: Add cleanup in qed_slowpath_start()

2019-08-20 Thread Sudarsana Reddy Kalluru
> -Original Message- > From: Wenwen Wang > Sent: Wednesday, August 21, 2019 10:17 AM > To: Wenwen Wang > Cc: Sudarsana Reddy Kalluru ; Ariel Elior > ; GR-everest-linux-l2 l...@marvell.com>; David S. Miller ; open > list:QLOGIC QL4xxx ETHERNET DRIVER ; open list > > Subject: [PATCH