1. 01 Oct, 2012 3 commits
    • J. Bruce Fields's avatar
      nfsd4: enforce per-client sessions/no-sessions distinction · d15c077e
      J. Bruce Fields authored
      Something like creating a client with setclientid and then trying to
      confirm it with create_session may not crash the server, but I'm not
      completely positive of that, and in any case it's obviously bad client
      behavior.
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      d15c077e
    • J. Bruce Fields's avatar
      nfsd4: set cl_minorversion at create time · c116a0af
      J. Bruce Fields authored
      And remove some mostly obsolete comments.
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      c116a0af
    • J. Bruce Fields's avatar
      nfsd4: don't pin clientids to pseudoflavors · 68eb3508
      J. Bruce Fields authored
      I added cr_flavor to the data compared in same_creds without any
      justification, in d5497fc6 "nfsd4: move
      rq_flavor into svc_cred".
      
      Recent client changes then started making
      
      	mount -osec=krb5 server:/export /mnt/
      	echo "hello" >/mnt/TMP
      	umount /mnt/
      	mount -osec=krb5i server:/export /mnt/
      	echo "hello" >/mnt/TMP
      
      to fail due to a clid_inuse on the second open.
      
      Mounting sequentially like this with different flavors probably isn't
      that common outside artificial tests.  Also, the real bug here may be
      that the server isn't just destroying the former clientid in this case
      (because it isn't good enough at recognizing when the old state is
      gone).  But it prompted some discussion and a look back at the spec, and
      I think the check was probably wrong.  Fix and document.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      68eb3508
  2. 25 Sep, 2012 1 commit
  3. 10 Sep, 2012 7 commits
  4. 21 Aug, 2012 18 commits
  5. 20 Aug, 2012 10 commits
  6. 16 Aug, 2012 1 commit