diff options
author | Yuan Can <yuancan@huawei.com> | 2022-11-29 02:42:11 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-12-01 13:50:21 +0100 |
commit | 5cc58b376675981386c6192405fe887cd29c527a (patch) | |
tree | c797c6b2f3c64483e34e40f76766f7d737c27821 /net/dcb | |
parent | wifi: ieee80211: Do not open-code qos address offsets (diff) | |
download | linux-5cc58b376675981386c6192405fe887cd29c527a.tar.xz linux-5cc58b376675981386c6192405fe887cd29c527a.zip |
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: ce08cd344a00 ("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>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions