Subject: Re: [net-2.6 PATCH 2/3] net: dcb: use _safe() version of list iterators

From: John Fastabend <[email-masked]>
Date: Sat, 05 Feb 2011 11:40:35 -0800

On 1/31/2011 8:42 PM, David Miller wrote:
> From: John Fastabend <[email-masked]>
> Date: Mon, 31 Jan 2011 14:00:54 -0800
> 
>> Use _safe() version of list iterator macros in dcb_setapp().
>>
>> Signed-off-by: John Fastabend <[email-masked]>
> 
> Why?  It's unnecessary overhead, since we always branch to "out", and
> therefore out of the list traversal loop, any time we list_del()
> something on the list.

Of course you are right there is no reason for this. Thanks.