Re: [PATCH net] gro: use min_t() in skb_gro_reset_offset()

2017-01-11 Thread David Miller
From: Eric Dumazet Date: Tue, 10 Jan 2017 19:52:43 -0800 > From: Eric Dumazet > > On 32bit arches, (skb->end - skb->data) is not 'unsigned int', > so we shall use min_t() instead of min() to avoid a compiler error. > > Fixes: 1272ce87fa01 ("gro: Enter slow-path if there is no tailroom") > Repo

[PATCH net] gro: use min_t() in skb_gro_reset_offset()

2017-01-10 Thread Eric Dumazet
From: Eric Dumazet On 32bit arches, (skb->end - skb->data) is not 'unsigned int', so we shall use min_t() instead of min() to avoid a compiler error. Fixes: 1272ce87fa01 ("gro: Enter slow-path if there is no tailroom") Reported-by: kernel test robot Signed-off-by: Eric Dumazet --- net/core/de