From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: netdev@vger.kernel.org, herbert@gondor.apana.org.au,
slavash@mellanox.com, willemb@google.com, edumazet@google.com
Subject: Re: [PATCH net] gro: use min_t() in skb_gro_reset_offset()
Date: Wed, 11 Jan 2017 08:16:34 -0500 (EST) [thread overview]
Message-ID: <20170111.081634.2168417008156230015.davem@davemloft.net> (raw)
In-Reply-To: <1484106763.21472.49.camel@edumazet-glaptop3.roam.corp.google.com>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Tue, 10 Jan 2017 19:52:43 -0800
> From: Eric Dumazet <edumazet@google.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@intel.com>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied, thanks Eric.
prev parent reply other threads:[~2017-01-11 13:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-10 20:24 [PATCH net] gro: Enter slow-path if there is no tailroom Eric Dumazet
2017-01-11 2:29 ` David Miller
2017-01-11 3:52 ` [PATCH net] gro: use min_t() in skb_gro_reset_offset() Eric Dumazet
2017-01-11 13:16 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170111.081634.2168417008156230015.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=eric.dumazet@gmail.com \
--cc=herbert@gondor.apana.org.au \
--cc=netdev@vger.kernel.org \
--cc=slavash@mellanox.com \
--cc=willemb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).