[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130122.170826.1481012610894653735.davem@davemloft.net>
Date: Tue, 22 Jan 2013 17:08:26 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: pshelar@...ira.com, netdev@...r.kernel.org, jesse@...ira.com
Subject: Re: [PATCH 2/2] IP_GRE: Linearize skb before csum.
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 22 Jan 2013 14:03:19 -0800
> An application changing data provided on a sendfile() or vmsplice() cant
> really expect data integrity being respected, even if checksum are done
> by the NIC (TSO)
>
> So if data integrity is not respected, just send a bogus TX checksum.
I disagree.
As a quality of implementation decision, we should always compute
correct checksums, ragardless of whether the page contents can be
modified asynchronously during the packet transmit.
--
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