1. 04 6月, 2015 1 次提交
  2. 23 1月, 2015 1 次提交
  3. 10 12月, 2014 6 次提交
  4. 02 12月, 2014 1 次提交
  5. 25 11月, 2014 2 次提交
  6. 29 10月, 2014 1 次提交
  7. 18 8月, 2014 1 次提交
  8. 23 6月, 2014 1 次提交
  9. 04 1月, 2014 1 次提交
  10. 14 11月, 2013 1 次提交
  11. 04 7月, 2013 1 次提交
  12. 17 2月, 2013 1 次提交
  13. 24 1月, 2013 1 次提交
  14. 18 12月, 2012 1 次提交
  15. 11 12月, 2012 1 次提交
  16. 08 11月, 2012 1 次提交
  17. 05 11月, 2012 3 次提交
  18. 01 6月, 2012 3 次提交
  19. 16 5月, 2012 1 次提交
  20. 15 2月, 2012 3 次提交
  21. 01 2月, 2012 5 次提交
  22. 06 1月, 2012 2 次提交
    • J
      svcrpc: don't revert to SVC_POOL_DEFAULT on nfsd shutdown · 9689dcce
      J. Bruce Fields 提交于
      This was unexpected behavior (at least for me)--why would you want
      configuration settings automatically lost on nfsd restart?
      
      In practice this won't affect distributions, which likely set everything
      on every startup.  But I'd expect the behavior to be less confusing to
      someone manually restarting nfsd for testing.
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      9689dcce
    • J
      svcrpc: fix double-free on shutdown of nfsd after changing pool mode · 61c8504c
      J. Bruce Fields 提交于
      The pool_to and to_pool fields of the global svc_pool_map are freed on
      shutdown, but are initialized in nfsd startup only in the
      SVC_POOL_PERCPU and SVC_POOL_PERNODE cases.
      
      They *are* initialized to zero on kernel startup.  So as long as you use
      only SVC_POOL_GLOBAL (the default), this will never be a problem.
      
      You're also OK if you only ever use SVC_POOL_PERCPU or SVC_POOL_PERNODE.
      
      However, the following sequence events leads to a double-free:
      
      	1. set SVC_POOL_PERCPU or SVC_POOL_PERNODE
      	2. start nfsd: both fields are initialized.
      	3. shutdown nfsd: both fields are freed.
      	4. set SVC_POOL_GLOBAL
      	5. start nfsd: the fields are left untouched.
      	6. shutdown nfsd: now we try to free them again.
      
      Step 4 is actually unnecessary, since (for some bizarre reason), nfsd
      automatically resets the pool mode to SVC_POOL_GLOBAL on shutdown.
      
      Cc: stable@kernel.org
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      61c8504c
  23. 12 12月, 2011 1 次提交