1. 17 11月, 2008 2 次提交
  2. 15 11月, 2008 2 次提交
    • J
      cifs: reinstate sharing of SMB sessions sans races · 14fbf50d
      Jeff Layton 提交于
      We do this by abandoning the global list of SMB sessions and instead
      moving to a per-server list. This entails adding a new list head to the
      TCP_Server_Info struct. The refcounting for the cifsSesInfo is moved to
      a non-atomic variable. We have to protect it by a lock anyway, so there's
      no benefit to making it an atomic. The list and refcount are protected
      by the global cifs_tcp_ses_lock.
      
      The patch also adds a new routines to find and put SMB sessions and
      that properly take and put references under the lock.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      14fbf50d
    • J
      cifs: disable sharing session and tcon and add new TCP sharing code · e7ddee90
      Jeff Layton 提交于
      The code that allows these structs to be shared is extremely racy.
      Disable the sharing of SMB and tcon structs for now until we can
      come up with a way to do this that's race free.
      
      We want to continue to share TCP sessions, however since they are
      required for multiuser mounts. For that, implement a new (hopefully
      race-free) scheme. Add a new global list of TCP sessions, and take
      care to get a reference to it whenever we're dealing with one.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      e7ddee90
  3. 14 11月, 2008 1 次提交
  4. 09 8月, 2008 1 次提交
  5. 24 7月, 2008 3 次提交
  6. 29 4月, 2008 1 次提交
  7. 18 2月, 2008 1 次提交
  8. 13 2月, 2008 1 次提交
  9. 08 2月, 2008 1 次提交
  10. 05 10月, 2007 1 次提交
    • S
      [CIFS] Fix cifsd so shuts down when signing fails during mount · a013689d
      Steve French 提交于
      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: NJeff Layton <jlayton@redhat.com>
      CC: Shaggy <shaggy@us.ibm.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      a013689d
  11. 15 9月, 2007 2 次提交
  12. 13 7月, 2007 1 次提交
  13. 29 6月, 2007 1 次提交
  14. 25 6月, 2007 1 次提交
  15. 06 6月, 2007 1 次提交
  16. 22 1月, 2007 1 次提交
  17. 06 6月, 2006 1 次提交
  18. 05 6月, 2006 1 次提交
  19. 03 6月, 2006 1 次提交
  20. 02 6月, 2006 1 次提交
  21. 01 6月, 2006 1 次提交
  22. 13 12月, 2005 1 次提交
  23. 04 12月, 2005 2 次提交
  24. 12 10月, 2005 2 次提交
  25. 11 10月, 2005 2 次提交
  26. 08 10月, 2005 1 次提交
  27. 21 8月, 2005 1 次提交
  28. 24 6月, 2005 1 次提交
  29. 29 4月, 2005 4 次提交