diff options
| author | Wentao Liang <vulab@iscas.ac.cn> | 2026-09-16 18:35:30 +0000 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-09-23 03:42:38 -0400 |
| commit | 5fb3051aa4611ae18e304814fb1b74a30065fd85 (patch) | |
| tree | 367d4b2ed73c68f0dd614590132cdb9641d22f51 /tools/lib/python/kdoc/python_version.py | |
| parent | 2a770e6a64d66fc3a7317669ecca9773d8339ead (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 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
