[PATCH] fib6: Fix fn-leaf == NULL race when inserting new nodes in fib6 tree

2007-01-04 Thread Thomas Graf
When inserting new nodes into a fib6 tree, the leaf pointer is first to NULL and later corrected when the key gets assigned. However, the tree is not locked for this period of time, therefore nodes with an invalid leaf pointer are accessible. Lookups that occur during this period of time expect a

Re: [PATCH] fib6: Fix fn-leaf == NULL race when inserting new nodes in fib6 tree

2007-01-04 Thread Thomas Graf
* Thomas Graf [EMAIL PROTECTED] 2007-01-04 10:39 When inserting new nodes into a fib6 tree, the leaf pointer is first to NULL and later corrected when the key gets assigned. However, the tree is not locked for this period of time, therefore nodes with an invalid leaf pointer are accessible.

Re: [PATCH] fib6: Fix fn-leaf == NULL race when inserting new nodes in fib6 tree

2007-01-04 Thread David Miller
From: Thomas Graf [EMAIL PROTECTED] Date: Thu, 4 Jan 2007 20:21:47 +0100 * Thomas Graf [EMAIL PROTECTED] 2007-01-04 10:39 When inserting new nodes into a fib6 tree, the leaf pointer is first to NULL and later corrected when the key gets assigned. However, the tree is not locked for this