diff options
author | Paulo Alcantara <pc@manguebit.com> | 2023-02-16 21:33:22 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-02-20 20:48:48 +0300 |
commit | d99e86ebde2d7b3a04190f8d14de5bf6814bf10f (patch) | |
tree | c704ddfacbcb4e457580212e5ba61e4b097fc669 /tools/perf/scripts/python/task-analyzer.py | |
parent | de036dcaca65cf94bf7ff09c571c077f02bc92b4 (diff) | |
download | linux-d99e86ebde2d7b3a04190f8d14de5bf6814bf10f.tar.xz |
cifs: fix mount on old smb servers
The client was sending rfc1002 session request packet with a wrong
length field set, therefore failing to mount shares against old SMB
servers over port 139.
Fix this by calculating the correct length as specified in rfc1002.
Fixes: d7173623bf0b ("cifs: use ALIGN() and round_up() macros")
Cc: stable@vger.kernel.org
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions