[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170111.081634.2168417008156230015.davem@davemloft.net>
Date: Wed, 11 Jan 2017 08:16:34 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, herbert@...dor.apana.org.au,
slavash@...lanox.com, willemb@...gle.com, edumazet@...gle.com
Subject: Re: [PATCH net] gro: use min_t() in skb_gro_reset_offset()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 10 Jan 2017 19:52:43 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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 <fengguang.wu@...el.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
Powered by blists - more mailing lists