Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "wifi: mac80211_hwsim: check the return value of nla_put_u32"
[ Upstream commit 1b78dd3 ] This reverts commit b970ac6 ("wifi: mac80211_hwsim: check the return value of nla_put_u32") since it introduced a memory leak in the error path, which seems worse than sending an incomplete skb, and the put can't fail anyway since the SKB was just allocated. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information