[PATCH] wifi: ath11k: Fix NULL pointer check in ath11k_ce_rx_post_pipe()

Baichuan Qi zghbqbc at gmail.com
Sun Nov 24 23:37:46 PST 2024


thanks for your reply

> !(pipe->dest_ring && pipe->status_ring)
means both pipe->dest_ring and pipe->status_ring must
be NON-NULL , previous code means ONE of these two rings
is NON-NULL.
So when some errors happen , dest_ring is NULL and 
status_ring is NON-NULL ,  the subsequent call to
ath11k_ce_rx_buf_enqueue_pipe() will access the NULL pointer

Baichuan Qi



More information about the ath11k mailing list