diff options
| author | Pali Rohár <[email protected]> | 2024-10-27 11:10:52 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-03-26 19:51:50 +0000 |
| commit | be786e509c1af9b2dcf25c3d601f05c8c251f482 (patch) | |
| tree | 0e70fc3dbeef4385e69fceaa5d85d1f3060d200b /net/core/dev_api.c | |
| parent | smb: client: Fix netns refcount imbalance causing leaks and use-after-free (diff) | |
| download | kernel-be786e509c1af9b2dcf25c3d601f05c8c251f482.tar.gz kernel-be786e509c1af9b2dcf25c3d601f05c8c251f482.zip | |
cifs: Set default Netbios RFC1001 server name to hostname in UNC
Windows SMB servers (including SMB2+) which are working over RFC1001
require that Netbios server name specified in RFC1001 Session Request
packet is same as the UNC host name. Netbios server name can be already
specified manually via -o servern= option.
With this change the RFC1001 server name is set automatically by extracting
the hostname from the mount source.
Signed-off-by: Pali Rohár <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
