diff options
| author | Kito Xu <[email protected]> | 2025-07-09 03:52:51 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-11 01:01:08 +0000 |
| commit | 711c80f7d8b163d3ecd463cd96f07230f488e750 (patch) | |
| tree | 7999aca6f294ec582e45277c0dbac544b69015c7 /tools/perf/scripts/python/syscall-counts.py | |
| parent | Merge tag 'wireless-2025-07-10' of https://git.kernel.org/pub/scm/linux/kerne... (diff) | |
| download | kernel-711c80f7d8b163d3ecd463cd96f07230f488e750.tar.gz kernel-711c80f7d8b163d3ecd463cd96f07230f488e750.zip | |
net: appletalk: Fix device refcount leak in atrtr_create()
When updating an existing route entry in atrtr_create(), the old device
reference was not being released before assigning the new device,
leading to a device refcount leak. Fix this by calling dev_put() to
release the old device reference before holding the new one.
Fixes: c7f905f0f6d4 ("[ATALK]: Add missing dev_hold() to atrtr_create().")
Signed-off-by: Kito Xu <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
