netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: alexander.h.duyck@intel.com
Cc: netdev@vger.kernel.org, edumazet@google.com, herbert@gondor.apana.org
Subject: Re: [PATCH] net: Do not include padding in TCP GRO checksum
Date: Thu, 14 Nov 2013 23:08:21 -0500 (EST)	[thread overview]
Message-ID: <20131114.230821.139211038449295349.davem@davemloft.net> (raw)
In-Reply-To: <20131115011413.7090.9349.stgit@ahduyck-fpga.jf.intel.com>

From: Alexander Duyck <alexander.h.duyck@intel.com>
Date: Thu, 14 Nov 2013 17:18:18 -0800

> I haven't had a chance to test this much yet and I am not that familiar

As Eric mentioned, unless you tested on big endian, chances are you
didn't test this at all. :-)

You're accessing the IPv4/IPv6 length fields without converting it
to CPU endian.

  parent reply	other threads:[~2013-11-15  4:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-15  1:18 [PATCH] net: Do not include padding in TCP GRO checksum Alexander Duyck
2013-11-15  1:26 ` Eric Dumazet
2013-11-15  4:08 ` David Miller [this message]
2013-11-15  5:34   ` Alexander Duyck
2013-11-15  4:20 ` Herbert Xu
2013-11-15  6:00   ` Alexander Duyck
2013-11-18 20:44 ` Ben Hutchings

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=20131114.230821.139211038449295349.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=alexander.h.duyck@intel.com \
    --cc=edumazet@google.com \
    --cc=herbert@gondor.apana.org \
    --cc=netdev@vger.kernel.org \
    /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).