1. 02 10月, 2012 3 次提交
    • J
      nfsd4: enforce per-client sessions/no-sessions distinction · d15c077e
      J. Bruce Fields 提交于
      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: NJ. Bruce Fields <bfields@redhat.com>
      d15c077e
    • J
      nfsd4: set cl_minorversion at create time · c116a0af
      J. Bruce Fields 提交于
      And remove some mostly obsolete comments.
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      c116a0af
    • J
      nfsd4: don't pin clientids to pseudoflavors · 68eb3508
      J. Bruce Fields 提交于
      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: NJ. Bruce Fields <bfields@redhat.com>
      68eb3508
  2. 11 9月, 2012 1 次提交
  3. 10 9月, 2012 1 次提交
  4. 22 8月, 2012 3 次提交
  5. 21 8月, 2012 1 次提交
  6. 28 7月, 2012 5 次提交
  7. 25 7月, 2012 2 次提交
  8. 11 7月, 2012 1 次提交
  9. 20 6月, 2012 4 次提交
  10. 15 6月, 2012 1 次提交
  11. 01 6月, 2012 18 次提交