1. 13 1月, 2012 1 次提交
  2. 19 10月, 2011 1 次提交
  3. 02 8月, 2011 1 次提交
  4. 02 7月, 2011 1 次提交
  5. 17 6月, 2011 1 次提交
  6. 14 4月, 2011 1 次提交
  7. 12 3月, 2011 1 次提交
  8. 08 3月, 2011 1 次提交
  9. 17 12月, 2010 2 次提交
  10. 24 9月, 2010 1 次提交
  11. 13 9月, 2010 1 次提交
    • T
      SUNRPC: Fix race corrupting rpc upcall · 5a67657a
      Trond Myklebust 提交于
      If rpc_queue_upcall() adds a new upcall to the rpci->pipe list just
      after rpc_pipe_release calls rpc_purge_list(), but before it calls
      gss_pipe_release (as rpci->ops->release_pipe(inode)), then the latter
      will free a message without deleting it from the rpci->pipe list.
      
      We will be left with a freed object on the rpc->pipe list.  Most
      frequent symptoms are kernel crashes in rpc.gssd system calls on the
      pipe in question.
      Reported-by: NJ. Bruce Fields <bfields@redhat.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      Cc: stable@kernel.org
      5a67657a
  12. 04 8月, 2010 2 次提交
  13. 15 5月, 2010 5 次提交
  14. 22 3月, 2010 1 次提交
  15. 10 2月, 2010 1 次提交
    • J
      sunrpc: parse and return errors reported by gssd · dc5ddce9
      Jeff Layton 提交于
      The kernel currently ignores any error code sent by gssd and always
      considers it to be -EACCES. In order to better handle the situation of
      an expired KRB5 TGT, the kernel needs to be able to parse and deal with
      the errors that gssd sends. Aside from -EACCES the only error we care
      about is -EKEYEXPIRED, which we're using to indicate that the upper
      layers should retry the call a little later.
      
      To maintain backward compatibility with older gssd's, any error other
      than -EKEYEXPIRED is interpreted as -EACCES.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      dc5ddce9
  16. 07 1月, 2010 1 次提交
  17. 19 12月, 2009 1 次提交
    • J
      sunrpc: on successful gss error pipe write, don't return error · 486bad2e
      Jeff Layton 提交于
      When handling the gssd downcall, the kernel should distinguish between a
      successful downcall that contains an error code and a failed downcall
      (i.e. where the parsing failed or some other sort of problem occurred).
      
      In the former case, gss_pipe_downcall should be returning the number of
      bytes written to the pipe instead of an error. In the event of other
      errors, we generally want the initiating task to retry the upcall so
      we set msg.errno to -EAGAIN. An unexpected error code here is a bug
      however, so BUG() in that case.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Cc: stable@kernel.org
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      486bad2e
  18. 10 12月, 2009 1 次提交
  19. 09 12月, 2009 1 次提交
  20. 10 8月, 2009 2 次提交
  21. 10 6月, 2009 1 次提交
  22. 24 12月, 2008 11 次提交
  23. 10 7月, 2008 1 次提交