summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorDaeMyung Kang <charsyam@gmail.com>2026-04-19 14:02:55 +0300
committerSteve French <stfrench@microsoft.com>2026-04-22 16:11:23 +0300
commitb32c8db48212a34998c36d0bbc05b29d5c407ef5 (patch)
tree67321cc262d196b3a315d0dfea881dd9c8e6a1f2 /include/linux/timerqueue.h
parentc049ee14eb4343b69b6f7755563f961f5e153423 (diff)
downloadlinux-b32c8db48212a34998c36d0bbc05b29d5c407ef5.tar.xz
ksmbd: destroy async_ida in ksmbd_conn_free()
When per-connection async_ida was converted from a dynamically allocated ksmbd_ida to an embedded struct ida, ksmbd_ida_free() was removed from the connection teardown path but no matching ida_destroy() was added. The connection is therefore freed with the IDA's backing xarray still intact. The kernel IDA API expects ida_init() and ida_destroy() to be paired over an object's lifetime, so add the missing cleanup before the connection is freed. No leak has been observed in testing; this is a pairing fix to match the IDA lifetime rules, not a response to a reproduced regression. Fixes: d40012a83f87 ("cifsd: declare ida statically") Signed-off-by: DaeMyung Kang <charsyam@gmail.com> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions