[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZNTzQ3QgKdWWpVop@vergenet.net>
Date: Thu, 10 Aug 2023 16:25:07 +0200
From: Simon Horman <horms@...nel.org>
To: Lin Ma <linma@....edu.cn>
Cc: johannes@...solutions.net, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
avraham.stern@...el.com, luciano.coelho@...el.com,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net v2] nl80211/cfg80211: add forgetten nla_policy for
BSS color attribute
On Wed, Aug 09, 2023 at 11:31:51AM +0800, Lin Ma wrote:
> The previous commit dd3e4fc75b4a ("nl80211/cfg80211: add BSS color to
> NDP ranging parameters") adds a parameter for NDP ranging by introducing
> a new attribute type named NL80211_PMSR_FTM_REQ_ATTR_BSS_COLOR.
>
> However, the author forgot to also describe the nla_policy at
> nl80211_pmsr_ftm_req_attr_policy (net/wireless/nl80211.c). Just
> complement it to avoid malformed attribute that causes out-of-attribute
> access.
>
> Fixes: dd3e4fc75b4a ("nl80211/cfg80211: add BSS color to NDP ranging parameters")
> Signed-off-by: Lin Ma <linma@....edu.cn>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists