[ovs-dev] [PATCH] openvswitch: using nla_for_each_X to simplify the code
jesse at nicira.com
Sun Oct 7 18:30:51 UTC 2012
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.
More information about the dev