wifi: mac80211_hwsim: check the return value of nla_put_u32
authorMukesh Sisodiya <mukesh.sisodiya@intel.com>
Sun, 4 Jun 2023 09:11:19 +0000 (12:11 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 Jun 2023 12:15:27 +0000 (14:15 +0200)
commitb970ac68e0c46aec8049ba69e621a3e62353d2ce
tree02c10f1a7df634449f8723d9f96b0fea70e71a1d
parent29c6e2dc3d12a188a48f2a45759e8da44840546b
wifi: mac80211_hwsim: check the return value of nla_put_u32

Check the return value of nla_put_u32() and handle it accordingly.

Signed-off-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230604120651.de5168568cf6.Ie16442af9be879fd835506ba5dade780edecfb60@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/virtual/mac80211_hwsim.c