diff options
| author | 2026-09-16 18:37:15 +0000 | |
|---|---|---|
| committer | 2026-09-23 03:50:47 -0400 | |
| commit | 5eb6ecb612841927b5ede554a0e9d88240934282 (patch) | |
| tree | cb4220b2866c974d3713e82f47da7231fe672b1a /scripts/Makefile.thinlto | |
| parent | RDMA/cxgb4: Fix neigh reference leak in rx_pkt() (diff) | |
RDMA/cxgb4: Fix skb reference leak in rx_pkt()
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.
Fixes: 1cab775c3e75 ("RDMA/cxgb4: Fix LE hash collision bug for passive open connection")
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Link: https://patch.msgid.link/20260916183715.2092663-1-vulab@iscas.ac.cn
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
