1. 15 6月, 2009 1 次提交
    • J
      ipv4: Fix fib_trie rebalancing · e0f7cb8c
      Jarek Poplawski 提交于
      While doing trie_rebalance(): resize(), inflate(), halve() RCU free
      tnodes before updating their parents. It depends on RCU delaying the
      real destruction, but if RCU readers start after call_rcu() and before
      parent update they could access freed memory.
      
      It is currently prevented with preempt_disable() on the update side,
      but it's not safe, except maybe classic RCU, plus it conflicts with
      memory allocations with GFP_KERNEL flag used from these functions.
      
      This patch explicitly delays freeing of tnodes by adding them to the
      list, which is flushed after the update is finished.
      Reported-by: NYan Zheng <zheng.yan@oracle.com>
      Signed-off-by: NJarek Poplawski <jarkao2@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e0f7cb8c
  2. 22 5月, 2009 1 次提交
  3. 19 5月, 2009 1 次提交
  4. 31 10月, 2008 1 次提交
  5. 18 7月, 2008 2 次提交
  6. 11 7月, 2008 1 次提交
  7. 06 7月, 2008 1 次提交
  8. 12 6月, 2008 1 次提交
  9. 24 4月, 2008 1 次提交
  10. 14 4月, 2008 1 次提交
  11. 10 4月, 2008 3 次提交
  12. 26 3月, 2008 1 次提交
  13. 24 3月, 2008 1 次提交
  14. 23 3月, 2008 1 次提交
  15. 13 2月, 2008 2 次提交
  16. 05 2月, 2008 1 次提交
  17. 01 2月, 2008 2 次提交
  18. 29 1月, 2008 18 次提交