]> err.no Git - linux-2.6/commit
[FIB_TRIE]: Fix leaf freeing.
authorRobert Olsson <robert.olsson@its.uu.se>
Tue, 4 Apr 2006 19:53:35 +0000 (12:53 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 10 Apr 2006 05:25:23 +0000 (22:25 -0700)
commit550e29bc96e6f1ced2bca82dace197b009434367
tree423cb5460e1a25eff3d578003252b2de1b8ccaf5
parent8bf4b8a1083694d5aac292f92705ddd3aec29be6
[FIB_TRIE]: Fix leaf freeing.

Seems like leaf (end-nodes) has been freed by __tnode_free_rcu and not
by __leaf_free_rcu. This fixes the problem. Only tnode_free is now
used which checks for appropriate node type. free_leaf can be removed.

Signed-off-by: Robert Olsson <robert.olsson@its.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c