Files
linux/net
Kito Xu 711c80f7d8 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: c7f905f0f6 ("[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>
2025-07-10 18:01:08 -07:00
..
2025-04-22 07:04:02 -07:00
2024-10-15 18:52:26 -07:00
2025-04-17 11:00:03 +02:00
2025-05-26 22:28:44 +02:00
2024-10-08 15:16:59 +02:00
2025-04-11 18:58:10 -07:00