]> Git Repo - linux.git/commitdiff
cifs: smbd: Enable signing with smbdirect
authorLong Li <[email protected]>
Wed, 25 Apr 2018 18:30:05 +0000 (11:30 -0700)
committerSteve French <[email protected]>
Wed, 9 May 2018 16:48:35 +0000 (11:48 -0500)
Now signing is supported with RDMA transport.

Remove the code that disabled it.

Signed-off-by: Long Li <[email protected]>
Signed-off-by: Steve French <[email protected]>
Reviewed-by: Ronnie Sahlberg <[email protected]>
fs/cifs/connect.c
fs/cifs/smb2pdu.c

index a5aa158d535a70a2247419152d01b64d553c1596..7a10a5d0731f078247d5636d3e00aae169b48345 100644 (file)
@@ -1977,14 +1977,6 @@ cifs_parse_mount_options(const char *mountdata, const char *devname,
                goto cifs_parse_mount_err;
        }
 
-#ifdef CONFIG_CIFS_SMB_DIRECT
-       if (vol->rdma && vol->sign) {
-               cifs_dbg(VFS, "Currently SMB direct doesn't support signing."
-                       " This is being fixed\n");
-               goto cifs_parse_mount_err;
-       }
-#endif
-
 #ifndef CONFIG_KEYS
        /* Muliuser mounts require CONFIG_KEYS support */
        if (vol->multiuser) {
index 260e9c4219d815f61d2f7badb450e6e31c8eb49e..0f48741a0130d35286fec1e031b5eea45e367699 100644 (file)
@@ -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;
This page took 0.055531 seconds and 4 git commands to generate.