Re: [PATCH v3 10/12] l2tp: Add L2TP ethernet pseudowire support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul E. McKenney
Date: Friday, April 2, 2010 - 8:24 am

On Wed, Mar 31, 2010 at 10:38:36AM -0700, Paul E. McKenney wrote:

Right.  When using RCU, list_for_each_entry_safe_rcu() is not needed,
because destruction of the element you removed doesn't happen until the
end of a subsequent grace period.  By which time you will be done with
your RCU read-side critical section.

So you can just use list_for_each_entry_rcu(), you do not need a new
list_for_each_entry_safe_rcu().

But you did have me going for a bit!!!  ;-)

							Thanx, Paul
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v3 00/12] l2tp: Introduce L2TPv3 support, James Chapman, (Tue Mar 30, 9:17 am)
[PATCH v3 05/12] l2tp: Add L2TPv3 protocol support, James Chapman, (Tue Mar 30, 9:17 am)
[PATCH v3 09/12] l2tp: Add netlink control API for L2TP, James Chapman, (Tue Mar 30, 9:18 am)
[PATCH v3 12/12] l2tp: Update documentation, James Chapman, (Tue Mar 30, 9:18 am)
Re: [PATCH v3 04/12] l2tp: Add ppp device name to L2TP ppp ..., Stephen Hemminger, (Tue Mar 30, 9:29 am)
Re: [PATCH v3 10/12] l2tp: Add L2TP ethernet pseudowire su ..., Stephen Hemminger, (Tue Mar 30, 9:30 am)
Re: [PATCH v3 10/12] l2tp: Add L2TP ethernet pseudowire su ..., Stephen Hemminger, (Tue Mar 30, 9:30 am)
Re: [PATCH v3 10/12] l2tp: Add L2TP ethernet pseudowire su ..., Stephen Hemminger, (Tue Mar 30, 9:32 am)
Re: [PATCH v3 09/12] l2tp: Add netlink control API for L2TP, Patrick McHardy, (Wed Mar 31, 1:59 am)
Re: [PATCH v3 10/12] l2tp: Add L2TP ethernet pseudowire su ..., Paul E. McKenney, (Wed Mar 31, 10:38 am)
Re: [PATCH v3 04/12] l2tp: Add ppp device name to L2TP ppp ..., Stephen Hemminger, (Wed Mar 31, 4:08 pm)
Re: [PATCH v3 10/12] l2tp: Add L2TP ethernet pseudowire su ..., Paul E. McKenney, (Fri Apr 2, 8:24 am)