linux/drivers/net/wireless/intel/iwlegacy
Brendan Jackman 1c161ca67e 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>
2026-04-07 15:38:35 +02:00
..
3945-debug.c
3945-mac.c wifi: iwlegacy: Fix GFP flags in allocation loop 2026-04-07 15:38:35 +02:00
3945-rs.c wifi: iwlegacy: 3945-rs: remove redundant pointer check in il3945_rs_tx_status() and il3945_rs_get_rate() 2026-01-12 19:42:49 +01:00
3945.c
3945.h wifi: iwlegacy: Avoid multiple -Wflex-array-member-not-at-end warnings 2026-03-02 09:22:30 +01:00
4965-calib.c
4965-debug.c
4965-mac.c wifi: iwlegacy: Avoid multiple -Wflex-array-member-not-at-end warnings 2026-03-02 09:22:30 +01:00
4965-rs.c wifi: iwlegacy: work around excessive stack usage on clang/kasan 2025-06-24 09:04:42 +02:00
4965.c
4965.h
Kconfig
Makefile
commands.h wifi: iwlegacy: Avoid multiple -Wflex-array-member-not-at-end warnings 2026-03-02 09:22:30 +01:00
common.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
common.h wifi: iwlegacy: Avoid multiple -Wflex-array-member-not-at-end warnings 2026-03-02 09:22:30 +01:00
csr.h
debug.c
iwl-spectrum.h wifi: iwlegacy: Remove unused structs and avoid -Wflex-array-member-not-at-end warnings 2025-09-03 10:06:41 +02:00
prph.h