1. 16 Sep, 2009 1 commit
    • J. Bruce Fields's avatar
      nfsd4: fix null dereference creating nfsv4 callback client · 886e3b7f
      J. Bruce Fields authored
      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: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      886e3b7f
  2. 13 Sep, 2009 2 commits
  3. 11 Sep, 2009 3 commits
  4. 10 Sep, 2009 1 commit
  5. 04 Sep, 2009 3 commits
  6. 03 Sep, 2009 3 commits
  7. 02 Sep, 2009 5 commits
  8. 28 Aug, 2009 1 commit
    • Andy Adamson's avatar
      nfsd41: expand solo sequence check · 468de9e5
      Andy Adamson authored
      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: default avatarAndy Adamson <andros@netapp.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      468de9e5
  9. 27 Aug, 2009 3 commits
  10. 25 Aug, 2009 3 commits
  11. 24 Aug, 2009 1 commit
  12. 21 Aug, 2009 8 commits
  13. 20 Aug, 2009 1 commit
  14. 19 Aug, 2009 5 commits