[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y49DVUIaZhoky0B1@nanopsycho>
Date: Tue, 6 Dec 2022 14:27:49 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Zhang Changzhong <zhangchangzhong@...wei.com>
Cc: Jesse Brandeburg <jesse.brandeburg@...el.com>,
Tony Nguyen <anthony.l.nguyen@...el.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] ice: switch: fix potential memleak in
ice_add_adv_recipe()
Mon, Dec 05, 2022 at 08:38:22AM CET, zhangchangzhong@...wei.com wrote:
>When ice_add_special_words() fails, the 'rm' is not released, which will
>lead to a memory leak. Fix this up by going to 'err_unroll' label.
>
>Compile tested only.
>
>Fixes: 8b032a55c1bd ("ice: low level support for tunnels")
>Signed-off-by: Zhang Changzhong <zhangchangzhong@...wei.com>
Reviewed-by: Jiri Pirko <jiri@...dia.com>
Powered by blists - more mailing lists