From: Cong Wang <xiyou.wangc...@gmail.com>
Date: Wed, 20 Feb 2019 21:37:42 -0800

> For tcindex filter, it is too late to initialize the
> net pointer in tcf_exts_validate(), as tcf_exts_get_net()
> requires a non-NULL net pointer. We can just move its
> initialization into tcf_exts_init(), which just requires
> an additional parameter.
> 
> This makes the code in tcindex_alloc_perfect_hash()
> prettier.
> 
> Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com>

Applied, thanks Cong.

Reply via email to