1. Oct 17, 2007
    • Jeff Layton's avatar
      [CIFS] · 7111d214
      Jeff Layton authored
      
      [CIFS] fix error message about packet signing
      
      When packet signing is disabled and the server requires it, cifs prints
      an error message. The current message refers to a file in /proc that no
      longer exists. Fix it to refer to the correct file.
      
      Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      7111d214
  2. Oct 15, 2007
  3. Oct 13, 2007
  4. Oct 12, 2007
  5. Oct 05, 2007
    • Steve French's avatar
      [CIFS] Fix cifsd so shuts down when signing fails during mount · a013689d
      Steve French authored
      
      
      Fixes two problems:
      1) we dropped down to negotiating lanman if we did not recognize the
      mechanism (krb5 e.g.)
      2) we did not stop cifsd (thus will fail when doing rmod cifs with
      slab free errors) when we fail tcon but have a bad session (which is
      the case in which signing is required but we don't allow signing on
      the client)
      
      It also turns on extended security flag in the header when passing
      "sec=krb5" on mount command (although kerberos support is not done of
      course)
      
      Acked-by: default avatarJeff Layton <jlayton@redhat.com>
      CC: Shaggy <shaggy@us.ibm.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      a013689d
  6. Oct 04, 2007
  7. Oct 02, 2007
    • Steve French's avatar
      [CIFS] Reduce chance of list corruption in find_writable_file · 9b22b0b7
      Steve French authored
      
      
      When find_writable_file is racing with close and the session
      to the server goes down, Shaggy noticed that there was a
      chance that an open file in the list of files off the inode
      could have been freed by close since cifs_reconnect can
      block (the spinlock thus not held). This means that
      we have to start over at the beginning of the list in some
      cases.
      
      There is a 2nd change that needs to be made later
      (pointed out by Jeremy Allison and Shaggy) in order to
      prevent cifs_close ever freeing the cifs per file info
      when a write is pending.  Although we delay close from
      freeing this memory for sufficiently long for all known
      cases, ultimately on a very, very slow write
      overlapping a close pending we need to allow close to return
      (without freeing the cifs file info) and defer freeing the
      memory to be the responsibility of the (sloooow) write
      thread (presumably have to look at every place wrtPending
      is decremented - and add a flag for deferred free for
      after wrtPending goes to zero).
      
      Acked-by: default avatarShaggy <shaggy@us.ibm.com>
      Acked-by: default avatarShirish Pargaonkar <shirishp@us.ibm.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      9b22b0b7
    • Steve French's avatar
      [CIFS] change misleading field name · 4084973d
      Steve French authored
      
      
      num_auth is really num_subauth in ACL terminology
      
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      4084973d
  8. Sep 29, 2007
  9. Sep 28, 2007
  10. Sep 26, 2007
  11. Sep 25, 2007
  12. Sep 20, 2007
  13. Sep 17, 2007
  14. Sep 15, 2007
  15. Sep 14, 2007
  16. Sep 11, 2007
  17. Sep 08, 2007
  18. Aug 31, 2007
  19. Aug 24, 2007
  20. Aug 23, 2007
  21. Aug 22, 2007