diff options
author | Johannes Berg <johannes.berg@intel.com> | 2024-03-19 10:10:17 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-03-25 15:23:07 +0100 |
commit | 06a093807eb7b5c5b29b6cff49f8174a4e702341 (patch) | |
tree | 8c16104a00b66bf29379f98eb14ef333ee9bd98b /drivers/net/fjes | |
parent | 134d715e9ee2611edfb51774608ad465266bb3ef (diff) |
wifi: iwlwifi: mvm: rfi: fix potential response leaks
If the rx payload length check fails, or if kmemdup() fails,
we still need to free the command response. Fix that.
Fixes: 21254908cbe9 ("iwlwifi: mvm: add RFI-M support")
Co-authored-by: Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240319100755.db2fa0196aa7.I116293b132502ac68a65527330fa37799694b79c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/fjes')
0 files changed, 0 insertions, 0 deletions