Re: [PATCH] wifi: ath12k: fix channel list double-free on error paths

Linkai Gong <gonglinkai-UOlijcLmZ/[email protected]>
Newsgroups gmane.linux.kernel.wireless.general,gmane.linux.kernel
Message-ID <[email protected]>
On Mon, Aug 10, 2026 at 03:07:25PM +0530, Baochen Qiang wrote:
> So this is actually a dangling pointer
> issue, not a reachable double-free — nothing frees the failing radio's pointers a second
> time. Please reword the message to something like "error paths leave dangling pointers + a
> copy-paste typo; harden by consistently nulling after kfree()."

Thanks. You are right, I misread the cleanup loop.

Will reword the commit message in v2. Code change stays the same.

Thanks,
Linkai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.