Re: [PATCH] net: hns3: destroy the page pool if RX buffer allocation fails

From: Wentao Liang

Date: Sat Nov 07 2026 - 01:41:50 EST


Hi Simon,

Thank you for the review.

You are right about the NULL check: page_pool_destroy() returns
immediately for a NULL pool. But checking again before posting a v2, I
found that Jijie already posted a fix for this same leak, four days before
I sent my patch:

https://lore.kernel.org/all/20261030095633.377289-3-shaojijie@xxxxxxxxxx/

So I am withdrawing the patch instead of posting a v2 that duplicates his
work.

Best regards,
Wentao Liang