Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wifi: nl80211: Add checks for nla_nest_start() in nl80211_send_iface()
[ Upstream commit 5cc58b3 ] As the nla_nest_start() may fail with NULL returned, the return value needs to be checked. Fixes: ce08cd3 ("wifi: nl80211: expose link information for interfaces") Signed-off-by: Yuan Can <yuancan@huawei.com> Link: https://lore.kernel.org/r/20221129014211.56558-1-yuancan@huawei.com Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information