Commit 7dc85aba authored by Yuan Can's avatar Yuan Can Committed by Lee Jones
Browse files

UPSTREAM: wifi: nl80211: Add checks for nla_nest_start() in nl80211_send_iface()



As the nla_nest_start() may fail with NULL returned, the return value needs
to be checked.

Bug: 254441685
Fixes: ce08cd34 ("wifi: nl80211: expose link information for interfaces")
Signed-off-by: default avatarYuan Can <yuancan@huawei.com>
Link: https://lore.kernel.org/r/20221129014211.56558-1-yuancan@huawei.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
(cherry picked from commit 5cc58b37)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I768efc70d510ceca499ebb96810de1a9949ffa25
parent 8b1316dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment