9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] tcpiput()
@ 2001-05-04  5:06 Taj Khattra
  2001-05-04  9:16 ` Boyd Roberts
  0 siblings, 1 reply; 2+ messages in thread
From: Taj Khattra @ 2001-05-04  5:06 UTC (permalink / raw)
  To: 9fans

i think /sys/src/9/ip/tcp.c:1256 in the mar 27 '01 pkg should be

        if((h->tcpcksum[0] || h->tcpcksum[1]) && 

instead of

        if((h->tcpcksum[0] || h->tcpcksum[0]) && 

??

-taj





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

* Re: [9fans] tcpiput()
  2001-05-04  5:06 [9fans] tcpiput() Taj Khattra
@ 2001-05-04  9:16 ` Boyd Roberts
  0 siblings, 0 replies; 2+ messages in thread
From: Boyd Roberts @ 2001-05-04  9:16 UTC (permalink / raw)
  To: 9fans

From: "Taj Khattra" <taj.khattra@pobox.com>
>
> i think /sys/src/9/ip/tcp.c:1256 in the mar 27 '01 pkg should be
> 
>         if((h->tcpcksum[0] || h->tcpcksum[1]) && 
> 
> instead of
> 
>         if((h->tcpcksum[0] || h->tcpcksum[0]) && 
> 

sounds reasonable IIRC.

reminds me when sun turned off udp checksums and nfs requests
would survive the ethernet crc but would be passed along corrupt
which the udp checksum probably would have caught.




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

end of thread, other threads:[~2001-05-04  9:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-04  5:06 [9fans] tcpiput() Taj Khattra
2001-05-04  9:16 ` Boyd Roberts

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