diff options
| author | Wen Gu <[email protected]> | 2024-05-07 12:53:31 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-05-09 08:03:43 +0000 |
| commit | 2ddc0dd7fec86ee53b8928a5cca5fbddd4fc7c06 (patch) | |
| tree | 745697c986640d886499ac7311922e435b0bc3c6 /drivers/gpu/drm/lima/lima_sched.c | |
| parent | ipv6: prevent NULL dereference in ip6_output() (diff) | |
| download | kernel-2ddc0dd7fec86ee53b8928a5cca5fbddd4fc7c06.tar.gz kernel-2ddc0dd7fec86ee53b8928a5cca5fbddd4fc7c06.zip | |
net/smc: fix neighbour and rtable leak in smc_ib_find_route()
In smc_ib_find_route(), the neighbour found by neigh_lookup() and rtable
resolved by ip_route_output_flow() are not released or put before return.
It may cause the refcount leak, so fix it.
Link: https://lore.kernel.org/r/[email protected]
Fixes: e5c4744cfb59 ("net/smc: add SMC-Rv2 connection establishment")
Signed-off-by: Wen Gu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions
