diff options
| author | Brendan Jackman <jackmanb@google.com> | 2026-03-27 12:30:07 +0000 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-04-07 15:38:35 +0200 |
| commit | 1c161ca67e9bbd39b5c2adc8e067affcab10e8a5 (patch) | |
| tree | cc11395a1f35e3d67a9f15df29842f39f9a89bde /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 72b18625ba8e5c28acbc923822a8b9ca7c5b3931 (diff) | |
wifi: iwlegacy: Fix GFP flags in allocation loop
Do not latch these flags, they should be re-evaluated for each
iteration of the loop.
Concretely, rxq->free_count is incremented during the loop so the
__GFP_NOWARN decision may be stale. There may be other reasons to
require the re-evaluation too.
Suggested-by: Stanislaw Gruszka <stf_xl@wp.pl>
Link: https://lore.kernel.org/all/20260327115739.GB16800@wp.pl/
Signed-off-by: Brendan Jackman <jackmanb@google.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Link: https://patch.msgid.link/20260327-iwlegacy-gfp-fix-v1-1-b83e4db0bd66@google.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
