On Tue, 31 Jan 2006 10:11:10 +1100
Herbert Xu <[EMAIL PROTECTED]> wrote:

> On Thu, Jan 26, 2006 at 03:05:54PM -0800, Stephen Hemminger wrote:
> > Plan B:
> > 1. Use p->br (the back pointer) as the RCU sentinel
> 
> A thought just came to mind.  What about adding a dead flag (p->dead)?
> That means you won't have to carry around all those extra pointers.
> 
> So on the deleting path, you set p->dead, wait for the state to roll
> over, and proceed with the deletion.
> 
> Cheers,

Or could use STP state, but the extra pointers aren't that much
anyway.

-- 
Stephen Hemminger <[EMAIL PROTECTED]>
OSDL http://developer.osdl.org/~shemminger
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to