Re: [PATCH] ipv4: set the tcp_min_rtt_wlen range from 0 to u32_max_div_HZ

2019-04-15 Thread zhangxiaoxu (A)
Thank you very much. I have updated the patch: https://lore.kernel.org/netdev/1555379244-71866-1-git-send-email-zhangxiao...@huawei.com/ On 4/16/2019 1:53 AM, Eric Dumazet wrote: On 04/15/2019 12:15 AM, ZhangXiaoxu wrote: There is a UBSAN report as below: UBSAN: Undefined behaviour in net/ip

Re: [PATCH] ipvs: Fix signed integer overflow when setsockopt timeout

2019-01-24 Thread zhangxiaoxu (A)
ping. On 1/14/2019 8:15 PM, Simon Horman wrote: On Thu, Jan 10, 2019 at 04:39:06PM +0800, ZhangXiaoxu wrote: There is a UBSAN bug report as below: UBSAN: Undefined behaviour in net/netfilter/ipvs/ip_vs_ctl.c:2227:21 signed integer overflow: -2147483647 * 1000 cannot be represented in type 'int'

Re: [PATCH] ipvs: Fix signed integer overflow when setsockopt timeout

2019-01-13 Thread zhangxiaoxu (A)
ping? On 1/10/2019 4:39 PM, ZhangXiaoxu wrote: There is a UBSAN bug report as below: UBSAN: Undefined behaviour in net/netfilter/ipvs/ip_vs_ctl.c:2227:21 signed integer overflow: -2147483647 * 1000 cannot be represented in type 'int' Reproduce program: #include #include