Thread (27 messages) 27 messages, 4 authors, 2025-09-19

Re: [v7, net-next 01/10] bng_en: make bnge_alloc_ring() self-unwind on failure

flat view

From: Simon Horman <horms@kernel.org>
Date: 2025-09-16 15:13:02
Also in: lkml

On Fri, Sep 12, 2025 at 01:04:56AM +0530, Bhargava Marreddy wrote:
Ensure bnge_alloc_ring() frees any intermediate allocations
when it fails. This enables later patches to rely on this
self-unwinding behavior.

Signed-off-by: Bhargava Marreddy <redacted>
Reviewed-by: Vikas Gupta <vikas.gupta@broadcom.com>
Reviewed-by: Rajashekar Hudumula <redacted>
Without this patch(set), does the code correctly release resources on error?

If not, I think this should be considered a fix for net with appropriate
Fixes tag(s).

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