commit | 6fb6d5410e415b8b4ea6020fd2f8539fe7527b61 | [log] [tgz] |
---|---|---|
author | Johannes Berg <[email protected]> | Fri Jan 22 14:52:42 2021 +0200 |
committer | Greg Kroah-Hartman <[email protected]> | Sat Feb 13 13:55:11 2021 +0100 |
tree | e6a8ccfcb20a70dd4656b2c2fd94913f646db3fc | |
parent | 38da9b033becfb61e8d045a5f3d2ff4fc9f90f9b [diff] |
iwlwifi: queue: bail out on invalid freeing [ Upstream commit 0bed6a2a14afaae240cc431e49c260568488b51c ] If we find an entry without an SKB, we currently continue, but that will just result in an infinite loop since we won't increment the read pointer, and will try the same thing over and over again. Fix this. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/iwlwifi.20210122144849.abe2dedcc3ac.Ia6b03f9eeb617fd819e56dd5376f4bb8edc7b98a@changeid Signed-off-by: Sasha Levin <[email protected]>