[ovs-dev] [PATCH] openvswitch: using nla_for_each_X to simplify the code
davem at davemloft.net
Sun Oct 7 18:33:51 UTC 2012
From: Jesse Gross <jesse at nicira.com>
Date: Sun, 7 Oct 2012 11:30:51 -0700
> On Sun, Oct 7, 2012 at 6:42 AM, Wei Yongjun <weiyj.lk at gmail.com> wrote:
>> From: Wei Yongjun <yongjun_wei at trendmicro.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.
>> Signed-off-by: Wei Yongjun <yongjun_wei at trendmicro.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.
More information about the dev