diff options
author | 2023-02-16 15:33:22 -0300 | |
---|---|---|
committer | 2023-02-20 11:48:48 -0600 | |
commit | d99e86ebde2d7b3a04190f8d14de5bf6814bf10f (patch) | |
tree | c704ddfacbcb4e457580212e5ba61e4b097fc669 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cifs: Fix uninitialized memory reads for oparms.mode (diff) | |
download | wireguard-linux-d99e86ebde2d7b3a04190f8d14de5bf6814bf10f.tar.xz wireguard-linux-d99e86ebde2d7b3a04190f8d14de5bf6814bf10f.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions