opnsense-src/sys/compat
Austin Shafer 65de0f1855 LinuxKPI: 802.11: fix ieee80211_schedule_txq() to avoid rtw89 panic
rtw89 TX path was faulting in linuxkpi_ieee80211_next_txq() due to a
"double scheduling" check in linuxkpI_ieee80211_schedule_txq() being
incorrect:
the next pointer may be NULL there if the element is the last in the
tailq, so correctly check tqe_prev.  Without the fix we may have queued
the same element to the tailq twice, and because it was the last element
and had a NULL tqe_next, that NULL value would get propogated into
another node's tqe_prev on removal, and other such nastiness.

With this rtw89 no longer panics.

Reviewed by:	bz
Differential Revision: https://reviews.freebsd.org/D47006

(cherry picked from commit 41b746e05231b44c87f3a3087a7fe29966af6d0f)
2024-10-16 21:46:19 +00:00
..
freebsd32 Regen 2024-10-05 10:08:56 +03:00
ia32 sysentvec: add SV_SIGSYS flag 2023-10-09 06:24:31 +03:00
lindebugfs LinuxKPI/lindebugfs: stop panicing in lindebugfs, fix simple_read_from_buffer 2024-09-28 10:35:12 +00:00
linprocfs linprocfs: Avoid using a sysctl to get the CPU model string 2024-01-11 09:19:07 -05:00
linsysfs linsysfs(5): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743 2023-08-18 13:12:02 +03:00
linux linuxulator: ignore AT_NO_AUTOMOUNT for all stat variants 2024-09-29 18:37:02 -04:00
linuxkpi LinuxKPI: 802.11: fix ieee80211_schedule_txq() to avoid rtw89 panic 2024-10-16 21:46:19 +00:00
x86bios sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00