diff options
author | Benjamin Berg <benjamin.berg@intel.com> | 2023-12-20 14:41:42 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-12-21 22:35:15 +0300 |
commit | 31c5e92be5936adde55e783c0380264afc7218b0 (patch) | |
tree | 6523df3b001e1115c88af86e7c4aaa7d78728634 /security/integrity | |
parent | 32af9a9e1069e55bc02741fb00ac9d0ca1a2eaef (diff) | |
download | linux-31c5e92be5936adde55e783c0380264afc7218b0.tar.xz |
wifi: cfg80211: ensure cfg80211_bss_update frees IEs on error
cfg80211_bss_update is expected to consume the IEs that are passed into
it in the temporary internal BSS. This did not happen in some error
cases (which are also WARN_ON paths), so change the code to use a common
label and use that everywhere.
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20231220133549.8e72ea105e17.Ic81e9431e980419360e97502ce8c75c58793f05a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'security/integrity')
0 files changed, 0 insertions, 0 deletions