[PATCH] [NetKVM] Fix checksum verification for pkts with csum==0xffff

2013-03-14 Thread Dmitry Skorodumov
Windows-host with disabled TX-checksum offloading may send packets with tcp-checksum=0x. Most likely it is caused by by Windows algorithm for computing incremental checksum - see RFC 1624. RFC1624 (sec.5) states that 0x and 0x are equal, because for example 0xCD7A + 0x3285 + 0x =

Re: [PATCH] [NetKVM] Fix checksum verification for pkts with csum==0xffff

2013-03-14 Thread Dmitry Skorodumov
Dmitry Skorodumov sdmitry at parallels.com writes: Windows-host with disabled TX-checksum offloading may send packets with tcp-checksum=0x. Most likely it is caused by by Windows algorithm for computing incremental checksum - see RFC 1624. Forgot to mention that packets with checksum