Thread (6 messages) 6 messages, 3 authors, 2026-02-04

Re: [PATCH net] net: hns3: fix double free issue for tx spare buffer

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-02-04 02:38:18
Also in: lkml

On Mon, 2 Feb 2026 18:58:37 +0800 Jijie Shao wrote:
The driver missed to clear ring->tx_spare to NULL when
fail to initialize tx spare buffer. And it will try to
free the tx spare buffer in hns3_fini_ring() if tx_spare
is not NULL. So it may cause double free issue.
Please update this commit message so that reviewers don't have 
to do as much research. 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help