aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2025-03-06 05:14:58 +0000
committerSteve French <[email protected]>2025-03-10 17:54:32 +0000
commit3aa660c059240e0c795217182cf7df32909dd917 (patch)
treeca6f16a156fcd6c6a16dcbbc9e8f48bb92ddf7ef /net/unix/garbage.c
parentksmbd: fix use-after-free in ksmbd_free_work_struct (diff)
downloadkernel-3aa660c059240e0c795217182cf7df32909dd917.tar.gz
kernel-3aa660c059240e0c795217182cf7df32909dd917.zip
ksmbd: prevent connection release during oplock break notification
ksmbd_work could be freed when after connection release. Increment r_count of ksmbd_conn to indicate that requests are not finished yet and to not release the connection. Cc: [email protected] Reported-by: Norbert Szetei <[email protected]> Tested-by: Norbert Szetei <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions