Re: [PATCH] ksmbd: Fix resource leak in smb2_lock()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2022-11-29 20:19 GMT+09:00, Marios Makassikis <mmakassikis@xxxxxxxxxx>:
> "flock" is leaked if an error happens before smb2_lock_init(), as the
> lock is not added to the lock_list to be cleaned up.
>
> Signed-off-by: Marios Makassikis <mmakassikis@xxxxxxxxxx>
Acked-by: Namjae Jeon <linkinjeon@xxxxxxxxxx>

Thanks for your patch!



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux