aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2pdu.c
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2018-04-25 11:30:05 -0700
committerSteve French <smfrench@gmail.com>2018-05-09 11:48:35 -0500
commitf7c439668a291ca94f358e44d3a3e9f2a2524b8a (patch)
treef4e52a847a608cf27ab5176dd99972b6047e2938 /fs/cifs/smb2pdu.c
parentcifs: Allocate validate negotiation request through kmalloc (diff)
downloadlinux-dev-f7c439668a291ca94f358e44d3a3e9f2a2524b8a.tar.xz
linux-dev-f7c439668a291ca94f358e44d3a3e9f2a2524b8a.zip
cifs: smbd: Enable signing with smbdirect
Now signing is supported with RDMA transport. Remove the code that disabled it. Signed-off-by: Long Li <longli@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/cifs/smb2pdu.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c
index 260e9c4219d8..0f48741a0130 100644
--- a/fs/cifs/smb2pdu.c
+++ b/fs/cifs/smb2pdu.c
@@ -738,11 +738,6 @@ int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon)
cifs_dbg(FYI, "validate negotiate\n");
-#ifdef CONFIG_CIFS_SMB_DIRECT
- if (tcon->ses->server->rdma)
- return 0;
-#endif
-
/* In SMB3.11 preauth integrity supersedes validate negotiate */
if (tcon->ses->server->dialect == SMB311_PROT_ID)
return 0;