[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070104192147.GD8693@postel.suug.ch>
Date: Thu, 4 Jan 2007 20:21:47 +0100
From: Thomas Graf <tgraf@...g.ch>
To: davem@...emloft.net
Cc: yoshfuji@...ux-ipv6.org, netdev@...r.kernel.org
Subject: Re: [PATCH] fib6: Fix fn->leaf == NULL race when inserting new nodes in fib6 tree
* Thomas Graf <tgraf@...g.ch> 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. Lookups that occur during this period of time
> expect a valid leaf pointer and thus crash.
>
> This patch sets the leaf pointer to ip6_null_entry during
> this critical period of time.
Ignore this patch for now, the description is certainly inaccurate
even though it seems to fix the issue.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists