1. 16 9月, 2009 1 次提交
    • J
      nfsd4: fix null dereference creating nfsv4 callback client · 886e3b7f
      J. Bruce Fields 提交于
      On setting up the callback to the client, we attempt to use the same
      authentication flavor the client did.  We find an rpc cred to use by
      calling rpcauth_lookup_credcache(), which assumes that the given
      authentication flavor has a credentials cache.  However, this is not
      required to be true--in particular, auth_null does not use one.
      Instead, we should call the auth's lookup_cred() method.
      
      Without this, a client attempting to mount using nfsv4 and auth_null
      triggers a null dereference.
      
      Cc: stable@kernel.org
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      886e3b7f
  2. 14 9月, 2009 2 次提交
  3. 12 9月, 2009 3 次提交
  4. 11 9月, 2009 1 次提交
  5. 05 9月, 2009 2 次提交
  6. 04 9月, 2009 2 次提交
  7. 03 9月, 2009 2 次提交
  8. 02 9月, 2009 5 次提交
  9. 29 8月, 2009 1 次提交
    • A
      nfsd41: expand solo sequence check · 468de9e5
      Andy Adamson 提交于
      Compounds consisting of only a sequence operation don't need any
      additional caching beyond the sequence information we store in the slot
      entry.  Fix nfsd4_is_solo_sequence to identify this case correctly.
      
      The additional check for a failed sequence in nfsd4_store_cache_entry()
      is redundant, since the nfsd4_is_solo_sequence call lower down catches
      this case.
      
      The final ce_cachethis set in nfsd4_sequence is also redundant.
      Signed-off-by: NAndy Adamson <andros@netapp.com>
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      468de9e5
  10. 28 8月, 2009 3 次提交
  11. 26 8月, 2009 2 次提交
  12. 25 8月, 2009 2 次提交
  13. 21 8月, 2009 9 次提交
  14. 20 8月, 2009 5 次提交