diff options
| author | 2026-09-22 14:49:59 +0300 | |
|---|---|---|
| committer | 2026-10-14 11:56:36 +0300 | |
| commit | d9504926b43d721659db69c81eae534b09c63d32 (patch) | |
| tree | 1ac35b4735b1df9da00419c7c8bb18402cbf120e /scripts/Makefile.thinlto | |
| parent | wifi: iwlwifi: mld: log error when missing a recovery buffer (diff) | |
wifi: iwlwifi: mld: avoid leaking error recovery buffer
If we allocated a recovery buffer, but didn't eventually send the
recovery command (for example because we failed to load the FW),
We won't free the buffer until the module is unloaded.
If in between another FW error occured, we will override the pointer
with a new allocated buffer without freeing the previous one.
Fix this by freeing a previous buffer before allocating a new one.
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20260922144819.36e637b8162a.Ida6e834d7f5d1e69d46c47e2e46db1e87a57ac71@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
