1. 09 9月, 2012 3 次提交
  2. 22 8月, 2012 3 次提交
  3. 15 8月, 2012 1 次提交
  4. 11 8月, 2012 2 次提交
  5. 07 8月, 2012 10 次提交
  6. 01 8月, 2012 4 次提交
  7. 31 7月, 2012 2 次提交
    • E
      ipv4: remove rt_cache_rebuild_count · 0c7462a2
      Eric Dumazet 提交于
      After IP route cache removal, rt_cache_rebuild_count is no longer
      used.
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0c7462a2
    • E
      net: ipv4: fix RCU races on dst refcounts · 404e0a8b
      Eric Dumazet 提交于
      commit c6cffba4 (ipv4: Fix input route performance regression.)
      added various fatal races with dst refcounts.
      
      crashes happen on tcp workloads if routes are added/deleted at the same
      time.
      
      The dst_free() calls from free_fib_info_rcu() are clearly racy.
      
      We need instead regular dst refcounting (dst_release()) and make
      sure dst_release() is aware of RCU grace periods :
      
      Add DST_RCU_FREE flag so that dst_release() respects an RCU grace period
      before dst destruction for cached dst
      
      Introduce a new inet_sk_rx_dst_set() helper, using atomic_inc_not_zero()
      to make sure we dont increase a zero refcount (On a dst currently
      waiting an rcu grace period before destruction)
      
      rt_cache_route() must take a reference on the new cached route, and
      release it if was not able to install it.
      
      With this patch, my machines survive various benchmarks.
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      404e0a8b
  8. 27 7月, 2012 7 次提交
  9. 26 7月, 2012 1 次提交
  10. 25 7月, 2012 2 次提交
  11. 24 7月, 2012 5 次提交