Re: [PATCH] ath11k: modify null check logic in ath11k_ce_rx_post_pipe()
From: Jeff Johnson
Date: Wed Sep 09 2026 - 13:58:30 EST
On Mon, 09 Sep 2024 11:08:20 -0400, Mikhail Lobanov wrote:
> The previous logic in ath11k_ce_rx_post_pipe() incorrectly required both
> dest_ring and status_ring to be NULL in order to exit the function.
> This caused the function to continue even if only one of the pointers
> was NULL, potentially leading to null pointer dereferences in
> ath11k_ce_rx_buf_enqueue_pipe().
>
> Fix the condition by modifying the logic so that the function returns
> early if either dest_ring or status_ring is NULL.
>
> [...]
Applied, thanks!
[1/1] ath11k: modify null check logic in ath11k_ce_rx_post_pipe()
commit: 52953d149ab4da0432d54b09f3c8add42b4d4a82
Best regards,
--
Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx>