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 <cug...@163.com> >> Date: Sat, 27 May 2017 06:00:52 +0800 >> >>> From: yuan linyu <linyu.y...@alcatel-sbell.com.cn> >>> >>> Signed-off-by: yuan linyu <linyu.y...@alcatel-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.