[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d774d7d7-5eb2-f107-b939-fbd3a8ac97a7@gmail.com>
Date: Mon, 29 May 2017 21:42:16 -0600
From: David Ahern <dsahern@...il.com>
To: Joe Perches <joe@...ches.com>, David Miller <davem@...emloft.net>,
cugyly@....com
Cc: netdev@...r.kernel.org, Linyu.Yuan@...atel-sbell.com.cn
Subject: Re: [PATCH net-next] net: ndisc.c: reduce size of
__ndisc_fill_addr_option()
On 5/29/17 9:41 PM, Joe Perches wrote:
> On Mon, 2017-05-29 at 23:30 -0400, David Miller wrote:
>> From: yuan linyu <cugyly@....com>
>> Date: Sat, 27 May 2017 06:00:52 +0800
>>
>>> From: yuan linyu <Linyu.Yuan@...atel-sbell.com.cn>
>>>
>>> Signed-off-by: yuan linyu <Linyu.Yuan@...atel-sbell.com.cn>
>> Applied, thanks.
> OK, but is it really safe though?
>
> Could "space" (an int) ever be negative after
> subtracting "pad" and "data_len"?
>
that function should be converted to skb_put_zero once it hits net-next.
Powered by blists - more mailing lists