[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9ed6bff1-9210-4b2d-a897-2321316ac3b9@redhat.com>
Date: Thu, 19 Jun 2025 12:18:58 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net
Cc: netdev@...r.kernel.org, edumazet@...gle.com, andrew+netdev@...n.ch,
horms@...nel.org, lee@...ger.us, jacob.e.keller@...el.com,
Alexander Duyck <alexanderduyck@...com>
Subject: Re: [PATCH net] eth: fbnic: avoid double free when failing to DMA-map
FW msg
On 6/16/25 9:55 PM, Jakub Kicinski wrote:
> The semantics are that caller of fbnic_mbx_map_msg() retains
> the ownership of the message on error.
FWIW, I think the opposite semantic would lead to simpler/smaller code
overall, but no objections to retain the current one.
/P
Powered by blists - more mailing lists