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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 







发件人: Florian Westphal <fw@xxxxxxxxx>
发送时间: 2019年2月22日 19:52
收件人: Li,Rongqing
抄送: netfilter-devel@xxxxxxxxxxxxxxx; coreteam@xxxxxxxxxxxxx; bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
主题: 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

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux