diff options
author | Avraham Stern <avraham.stern@intel.com> | 2023-12-07 04:50:17 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-12-12 10:14:57 +0100 |
commit | ce038edfce43fb345f8dfdca0f7b17f535896701 (patch) | |
tree | 4056214613d521e21e8c99cb8db48d17d9995461 /drivers/hwmon/stts751.c | |
parent | 8c386b166e2517cf3a123018e77941ec22625d0f (diff) |
wifi: iwlwifi: pcie: avoid a NULL pointer dereference
It possible that while the rx rb is being handled, the transport has
been stopped and re-started. In this case the tx queue pointer is not
yet initialized, which will lead to a NULL pointer dereference.
Fix it.
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20231207044813.cd0898cafd89.I0b84daae753ba9612092bf383f5c6f761446e964@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/hwmon/stts751.c')
0 files changed, 0 insertions, 0 deletions