Re: [PATCH -next] qed: Fix possible memory leak in qed_dcbnl_get_ieee_pfc()

2016-08-14 Thread David Miller
From: Wei Yongjun Date: Thu, 11 Aug 2016 23:29:54 + > 'dcbx_info is malloced in qed_dcbnl_get_ieee_pfc() and should be freed > before leaving from the error handling cases, otherwise it will cause > memory leak. > > Fixes: a1d8d8a51e83 ("qed: Add dcbnl support.") > Signed-off-by: Wei Yongjun

Re: [PATCH -next] qed: Fix possible memory leak in qed_dcbnl_get_ieee_pfc()

2016-08-12 Thread David Miller
From: Sudarsana Kalluru Date: Fri, 12 Aug 2016 05:00:40 + > Thanks for the patch. > > Acked-by: Sudarsana Reddy Kalluru Please do not quote patches like this, and top-post your Ack. Please instead use canonical quoting, with some kind of delimiter in the first column of the quoted materia

RE: [PATCH -next] qed: Fix possible memory leak in qed_dcbnl_get_ieee_pfc()

2016-08-12 Thread Sudarsana Kalluru
Thanks for the patch. Acked-by: Sudarsana Reddy Kalluru -Original Message- From: Wei Yongjun [mailto:weiyj...@gmail.com] Sent: 12 August 2016 05:00 To: Yuval Mintz ; Ariel Elior ; Sudarsana Kalluru Cc: Wei Yongjun ; Dept-Eng Everest Linux L2 ; netdev Subject: [PATCH -next] qed: Fix