diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index e7f9dbc33ce2065e157bf644cab9ee33cf3298bc..41d9d0725f0f3a47d432aa754803a4596c0381ac 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c @@ -612,7 +612,8 @@ SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses, /* BB add code to build os and lm fields */ - rc = SendReceive2(xid, ses, iov, 2, &resp_buftype, CIFS_LOG_ERROR); + rc = SendReceive2(xid, ses, iov, 2, &resp_buftype, + CIFS_LOG_ERROR | CIFS_NEG_OP); kfree(security_blob); rsp = (struct smb2_sess_setup_rsp *)iov[0].iov_base;