Re: [PATCH 4/5] RDMA/cxgb4: Fix skb reference leak in rx_pkt()
From: Leon Romanovsky
Date: Wed Sep 23 2026 - 04:12:32 EST
On Wed, 16 Sep 2026 18:37:15 +0000, Wentao Liang wrote:
> rx_pkt() takes an extra reference on the received skb so it can be
> handed to the firmware completion path via req->cookie. When the
> work request skb allocation in send_fw_pass_open_req() fails the
> function returns without releasing that extra reference, leaking
> one skb reference.
>
> Free the packet skb before returning when the allocation fails,
> matching the cxgb4_ofld_send() failure path.
>
> [...]
Applied, thanks!
[4/5] RDMA/cxgb4: Fix skb reference leak in rx_pkt()
https://git.kernel.org/rdma/rdma/c/5eb6ecb6128419
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>