1. 30 3月, 2013 1 次提交
    • C
      SUNRPC: Define rpcsec_gss_info structure · fb15b26f
      Chuck Lever 提交于
      The NFSv4 SECINFO procedure returns a list of security flavors.  Any
      GSS flavor also has a GSS tuple containing an OID, a quality-of-
      protection value, and a service value, which specifies a particular
      GSS pseudoflavor.
      
      For simplicity and efficiency, I'd like to return each GSS tuple
      from the NFSv4 SECINFO XDR decoder and pass it straight into the RPC
      client.
      
      Define a data structure that is visible to both the NFS client and
      the RPC client.  Take structure and field names from the relevant
      standards to avoid confusion.
      Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      fb15b26f
  2. 16 4月, 2012 1 次提交
  3. 12 3月, 2012 1 次提交
    • T
      SUNRPC: Fix a few sparse warnings · 09acfea5
      Trond Myklebust 提交于
      net/sunrpc/svcsock.c:412:22: warning: incorrect type in assignment
      (different address spaces)
       - svc_partial_recvfrom now takes a struct kvec, so the variable
         save_iovbase needs to be an ordinary (void *)
      
      Make a bunch of variables in net/sunrpc/xprtsock.c static
      
      Fix a couple of "warning: symbol 'foo' was not declared. Should it be
      static?" reports.
      
      Fix a couple of conflicting function declarations.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      09acfea5
  4. 16 7月, 2011 1 次提交
  5. 07 6月, 2011 1 次提交
  6. 07 4月, 2011 1 次提交
    • T
      Revert "net/sunrpc: Use static const char arrays" · 0867659f
      Trond Myklebust 提交于
      This reverts commit 411b5e05.
      
      Olga Kornievskaia reports:
      
      Problem: linux client mounting linux server using rc4-hmac-md5
      enctype. gssd fails with create a context after receiving a reply from
      the server.
      
      Diagnose: putting printout statements in the server kernel and
      kerberos libraries revealed that client and server derived different
      integrity keys.
      
      Server kernel code was at fault due the the commit
      
      [aglo@skydive linux-pnfs]$ git show 411b5e05
      
      Trond: The problem is that since it relies on virt_to_page(), you cannot
      call sg_set_buf() for data in the const section.
      Reported-by: NOlga Kornievskaia <aglo@citi.umich.edu>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      Cc: stable@kernel.org	[2.6.36+]
      0867659f
  7. 12 3月, 2011 1 次提交
  8. 08 3月, 2011 1 次提交
  9. 26 10月, 2010 1 次提交
  10. 13 9月, 2010 1 次提交
  11. 15 5月, 2010 16 次提交
  12. 19 12月, 2009 1 次提交
  13. 10 7月, 2008 1 次提交
  14. 18 11月, 2007 1 次提交
  15. 18 7月, 2007 1 次提交
  16. 11 7月, 2007 1 次提交
  17. 04 2月, 2007 1 次提交
  18. 06 12月, 2006 3 次提交
  19. 03 12月, 2006 1 次提交
  20. 21 9月, 2006 1 次提交
  21. 22 7月, 2006 1 次提交
  22. 27 6月, 2006 1 次提交
  23. 07 1月, 2006 1 次提交