答复: 答复: 答复: [PATCH][nf-next] netfilter: replace modulo operation with bitwise AND

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

 




> -----邮件原件-----
> 发件人: Florian Westphal [mailto:fw@xxxxxxxxx]
> 发送时间: 2019年2月26日 14:32
> 收件人: Li,Rongqing <lirongqing@xxxxxxxxx>
> 抄送: Florian Westphal <fw@xxxxxxxxx>; netfilter-devel@xxxxxxxxxxxxxxx
> 主题: Re: 答复: 答复: [PATCH][nf-next] netfilter: replace modulo operation
> with bitwise AND
> 
> Li,Rongqing <lirongqing@xxxxxxxxx> wrote:
> > I think this patches maybe doing two thing:
> >
> > 1. make codes not depend on compiler optimization 2. remind to not
> > change CONNTRACK_LOCKS to a value which is not power of 2
> 
> You could add a BUILD_BUG_ON_NOT_POWER_OF_2() check for that.


OK, please drop this patch, I will send a new one based on your advice

-RongQing




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux