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

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

From: Jijie Shao <shaojijie@huawei.com>
Date: 2026-02-04 14:34:59
Also in: lkml

on 2026/2/4 10:38, Jakub Kicinski wrote:
On Mon, 2 Feb 2026 18:58:37 +0800 Jijie Shao wrote:
quoted
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.
ok, I will send v2 to update the commit message

Thanks,
Jijie Shao

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help