summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorKito Xu <veritas501@foxmail.com>2025-07-09 06:52:51 +0300
committerJakub Kicinski <kuba@kernel.org>2025-07-11 04:01:08 +0300
commit711c80f7d8b163d3ecd463cd96f07230f488e750 (patch)
tree7999aca6f294ec582e45277c0dbac544b69015c7 /scripts/gdb/linux/utils.py
parent7ac5cc2616257cf80d32a8814e44474f07efed62 (diff)
downloadlinux-711c80f7d8b163d3ecd463cd96f07230f488e750.tar.xz
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 <veritas501@foxmail.com> Link: https://patch.msgid.link/tencent_E1A26771CDAB389A0396D1681A90A49E5D09@qq.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions