ipv4: Fix fib_trie rebalancing, part 3
authorJarek Poplawski <jarkao2@gmail.com>
Tue, 30 Jun 2009 19:47:19 +0000 (12:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2009 19:48:38 +0000 (12:48 -0700)
commit008440e3ad4b72f5048d1b1f6f5ed894fdc5ad08
treebcf7771cd07562b258aaa032f85c29eaa00b9b6c
parent01e532981460594fffbf9b992ecfc96a78369924
ipv4: Fix fib_trie rebalancing, part 3

Alas current delaying of freeing old tnodes by RCU in trie_rebalance
is still not enough because we can free a top tnode before updating a
t->trie pointer.

Reported-by: Pawel Staszewski <pstaszewski@itcare.pl>
Tested-by: Pawel Staszewski <pstaszewski@itcare.pl>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c