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 Revert "wifi: iwlegacy: do not skip frames with bad FCS" 2024-11-12 20:24:45 +02:00
3945.h wifi: iwlegacy: Avoid multiple -Wflex-array-member-not-at-end warnings 2026-03-02 09:22:30 +01:00
4965-calib.c iwlegacy: 4965-calib: Demote seemingly accidental kernel-doc header 2020-09-01 12:22:42 +03:00
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 move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
4965.h wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
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 iwlegacy: debug: Demote seemingly unintentional kerneldoc header 2020-09-01 12:02:40 +03:00
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
Kconfig iwlwifi: fix LED dependencies 2021-12-08 20:17:06 +02:00
Makefile
prph.h