1. 30 1月, 2008 2 次提交
    • T
      SUNRPC: Fix TCP rebinding logic · 67a391d7
      Trond Myklebust 提交于
      Currently the TCP rebinding logic assumes that if we're not using a
      reserved port, then we don't need to reconnect on the same port if a
      disconnection event occurs. This breaks most RPC duplicate reply cache
      implementations.
      
      Also take into account the fact that xprt_min_resvport and
      xprt_max_resvport may change while we're reconnecting, since the user may
      change them at any time via the sysctls. Ensure that we check the port
      boundaries every time we loop in xs_bind4/xs_bind6. Also ensure that if the
      boundaries change, we only scan the ports a maximum of 2 times.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      67a391d7
    • T
      SUNRPC: Fix a race in xs_tcp_state_change() · 66af1e55
      Trond Myklebust 提交于
      When scheduling the autoclose RPC call, we want to ensure that we don't
      race against the test_bit() call in xprt_clear_locked().
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      66af1e55
  2. 29 1月, 2008 1 次提交
  3. 27 11月, 2007 1 次提交
  4. 22 11月, 2007 1 次提交
  5. 11 10月, 2007 1 次提交
  6. 10 10月, 2007 23 次提交
  7. 11 7月, 2007 4 次提交
  8. 01 5月, 2007 1 次提交
  9. 15 2月, 2007 4 次提交
  10. 04 2月, 2007 1 次提交
  11. 08 12月, 2006 1 次提交