[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121007.143351.311613044901717710.davem@davemloft.net>
Date: Sun, 07 Oct 2012 14:33:51 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jesse@...ira.com
Cc: weiyj.lk@...il.com, yongjun_wei@...ndmicro.com.cn,
dev@...nvswitch.org, netdev@...r.kernel.org
Subject: Re: [PATCH] openvswitch: using nla_for_each_X to simplify the code
From: Jesse Gross <jesse@...ira.com>
Date: Sun, 7 Oct 2012 11:30:51 -0700
> On Sun, Oct 7, 2012 at 6:42 AM, Wei Yongjun <weiyj.lk@...il.com> wrote:
>> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>>
>> Using nla_for_each_nested() or nla_for_each_attr()
>> to simplify the code.
>>
>> dpatch engine is used to auto generate this patch.
>> (https://github.com/weiyj/dpatch)
>>
>> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> It is done this way intentionally to avoid checks on the fast path for
> conditions that have already been validated.
Agreed, I'm not applying this patch.
--
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