[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJoZ4U2C0Ngbd9-zvh+2RzSk4EO_sC6ESFbYx022uoJwj-1iKg@mail.gmail.com>
Date: Wed, 16 Oct 2013 11:58:01 -0400
From: Kyle Hubert <khubert@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Stephen Hemminger <stephen@...workplumber.org>,
netdev@...r.kernel.org
Subject: Re: SW csum errors
On Wed, Oct 16, 2013 at 11:24 AM, Eric Dumazet <eric.dumazet@...il.com> wrote:
> On Wed, 2013-10-16 at 11:10 -0400, Kyle Hubert wrote:
>
>> Thanks, I didn't realize it was as simple as file backed pages being
>> changed. Yes, our device does support SG, so we do have zero-copy
>> sendfile() support. I'll concoct a simple test to prove this.
>
> You also can use vmsplice()/splice() and touch anonymous memory,
> no need to play with a file ;)
Thanks, this would be even easier to test. It also reminds me that
there are other vectors to constructing SKB frags. It looks like if we
need to enable SW checksumming ever again, we should just disable the
SG feature and let the normal stack handle validity.
-Kyle
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists