Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232943
b: refs/heads/master
c: e3f0dad
h: refs/heads/master
i:
  232941: 66b23e5
  232939: a29dda7
  232935: 1989b34
  232927: 4f91775
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Feb 4, 2011
1 parent 51a9fe5 commit 1ce3057
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 64474bdd07f673cc48509ea0375274422c8f73bf
refs/heads/master: e3f0dadb2b44746f6223ce4560406d19e02fb1cc
4 changes: 4 additions & 0 deletions trunk/fs/cifs/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,10 @@ cifs_call_async(struct TCP_Server_Info *server, struct smb_hdr *in_buf,
if (rc)
return rc;

/* enable signing if server requires it */
if (server->secMode & (SECMODE_SIGN_REQUIRED | SECMODE_SIGN_ENABLED))
in_buf->Flags2 |= SMBFLG2_SECURITY_SIGNATURE;

mutex_lock(&server->srv_mutex);
mid = AllocMidQEntry(in_buf, server);
if (mid == NULL) {
Expand Down

0 comments on commit 1ce3057

Please sign in to comment.