Re: [PATCH] cifs: fix workstation_name for multiuser mounts

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

 



Ryan Bair <ryandbair@xxxxxxxxx> writes:

> Set workstation_name from the master_tcon for multiuser mounts.
>
> Just in case, protect size_of_ntlmssp_blob against a NULL workstation_name.
>
> Signed-off-by: Ryan Bair <ryandbair@xxxxxxxxx>
> ---
>  fs/cifs/connect.c | 13 +++++++++++++
>  fs/cifs/sess.c    |  6 +++++-
>  2 files changed, 18 insertions(+), 1 deletion(-)
>
> diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
> index 1060164b984a..cefd0e9623ba 100644
> --- a/fs/cifs/connect.c
> +++ b/fs/cifs/connect.c

Reviewed-by: Paulo Alcantara (SUSE) <pc@xxxxxx>

Steve, could you pick this up?  Please also add the following tags:

        Fixes: 49bd49f983b5 ("cifs: send workstation name during ntlmssp session setup")
        Cc: stable@xxxxxxxxxxxxxxx # 5.16

Thanks.



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

  Powered by Linux