[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dc0edb88-457f-fde8-4d91-d5b3b94bfb6d@web.de>
Date: Sat, 5 Oct 2019 17:35:44 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Navid Emamdoost <navid.emamdoost@...il.com>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org
Cc: Navid Emamdoost <emamd001@....edu>, Kangjie Lu <kjlu@....edu>,
Stephen McCamant <smccaman@....edu>,
"David S. Miller" <davem@...emloft.net>,
Johannes Berg <johannes@...solutions.net>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] nl80211: fix memory leak in
nl80211_get_ftm_responder_stats
> In nl80211_get_ftm_responder_stats, a new skb is created via nlmsg_new
> named msg. If nl80211hdr_put() fails, then msg should be released. The
> return statement should be replace by goto to error handling code.
Please improve this change description (also by avoiding a typo).
Regards,
Markus
Powered by blists - more mailing lists