[Bridge] 答复: [PATCH][nf-next] netfilter: convert the proto argument from u8 to u16

Li,Rongqing lirongqing at baidu.com
Fri Feb 22 13:32:33 UTC 2019




________________________________
发件人: Florian Westphal <fw at strlen.de>
发送时间: 2019年2月22日 19:52
收件人: Li,Rongqing
抄送: netfilter-devel at vger.kernel.org; coreteam at netfilter.org; bridge at lists.linux-foundation.org
主题: Re: [PATCH][nf-next] netfilter: convert the proto argument from u8 to u16




>Otherwise, could you add an example where we hit a checkentry failure in
error?

true, current kernel has not this case.

>> +int xt_check_match(struct xt_mtchk_param *, unsigned int size, u_int16_t proto,
>>                   bool inv_proto);

>I think you can use u16 instead of the old u_int16_t.

>Other than that, this looks good to me, thanks.

thanks, I will send v2

-RongQing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bridge/attachments/20190222/ba3f210b/attachment.html>


More information about the Bridge mailing list