Skip to content
Commit 5cc58b37 authored by Yuan Can's avatar Yuan Can Committed by Johannes Berg
Browse files

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.

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>
parent 278ab979
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment