Re: [PATCH AUTOSEL 6.7 076/108] net: atlantic: eliminate double free in error handling logic

From: Jakub Kicinski
Date: Tue Jan 16 2024 - 20:38:46 EST


On Tue, 16 Jan 2024 14:39:42 -0500 Sasha Levin wrote:
> Driver has a logic leak in ring data allocation/free,
> where aq_ring_free could be called multiple times on same ring,
> if system is under stress and got memory allocation error.

This is a bit big, and the commit message is a leftover
from previous version which mixed up the fix with the cleanup.
The fix went in as 7bb26ea74aa86, I'd vote to drop the cleanup
from stable, but it "looks correct" so no strong feelings.