diff options
| author | 2026-09-16 18:35:30 +0000 | |
|---|---|---|
| committer | 2026-09-23 03:42:38 -0400 | |
| commit | 5fb3051aa4611ae18e304814fb1b74a30065fd85 (patch) | |
| tree | 367d4b2ed73c68f0dd614590132cdb9641d22f51 /scripts/Makefile.thinlto | |
| parent | RDMA/irdma: check vport device allocation (diff) | |
RDMA/cxgb4: Fix neigh reference leak in rx_pkt()
If ip_dev_find() fails on the loopback path the code jumps to
free_dst without releasing the neighbour reference taken by
dst_neigh_lookup_skb(), leaking one neigh reference.
Release the neighbour before jumping to free_dst.
Fixes: ef42520240aa ("RDMA/cxgb4: add null-ptr-check after ip_dev_find()")
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Link: https://patch.msgid.link/20260916183530.2092534-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
