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

From: Jakub Kicinski

Date: Tue Feb 03 2026 - 21:39:05 EST


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.