Re: [PATCH] SMB3: Add missing locks to protect deferred close file list

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

 



On Thu, Apr 20, 2023 at 9:54 PM ronnie sahlberg
<ronniesahlberg@xxxxxxxxx> wrote:
>
> Looks good. Acked-by me.
>
> Can you add a "Fixes ..." line to the commit message.

cifs_del_deferred_close function has a critical section which modifies
the deferred close file list. We must acquire deferred_lock before
calling cifs_del_deferred_close function.

Fixes: ca08d0eac020 ("cifs: Fix memory leak on the deferred close")
Signed-off-by: Bharath SM <bharathsm@xxxxxxxxxxxxx>




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

  Powered by Linux