[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070104.122449.119276319.davem@davemloft.net>
Date: Thu, 04 Jan 2007 12:24:49 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: tgraf@...g.ch
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
From: Thomas Graf <tgraf@...g.ch>
Date: Thu, 4 Jan 2007 20:21:47 +0100
> * 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.
Ok, no problem.
-
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