]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1fd264b64ca9284fe3d66533663239be9148fd5d
treebcf7771cd07562b258aaa032f85c29eaa00b9b6c
parent8b88877d2e0d4693a05c0434c77ac6db6fadcaba
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