netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Does CHECKSUM_COMPLETE work at all?
@ 2014-02-22  2:11 Tom Herbert
  2014-02-22  2:36 ` Dimitrios Michailidis
  2014-02-22 12:31 ` Daniel Borkmann
  0 siblings, 2 replies; 6+ messages in thread
From: Tom Herbert @ 2014-02-22  2:11 UTC (permalink / raw)
  To: Linux Netdev List

If a driver sets CHECKSUM_COMPLETE in a packet, I don't see anywhere
in either the Ethernet rcv path or ip_rcv where the skb->csum is being
pulled (no *pull_rcsum calls). I believe CHECKSUM_COMPLETE means the
checksum is over the whole packet (L2, L3, and L4), so it looks like
TCP would never see a usable value.

Is this interpretation correct? There's only a handful of drivers
providing CHECKSUM_COMPLETE can anyone who has access verify this?

Thanks,
Tom

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-22 17:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-22  2:11 Does CHECKSUM_COMPLETE work at all? Tom Herbert
2014-02-22  2:36 ` Dimitrios Michailidis
2014-02-22  3:08   ` Tom Herbert
2014-02-22 12:42     ` Daniel Borkmann
2014-02-22 17:32       ` Tom Herbert
2014-02-22 12:31 ` Daniel Borkmann

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).