The 1's complement checksum in m->m_pkthdr.csum_data was not being properly
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 10 Aug 2007 18:23:07 +0000 (18:23 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 10 Aug 2007 18:23:07 +0000 (18:23 +0000)
commit1e7aea7f77f92b235d38678fd74eaa0f1f373250
tree82a393ff79c727155efe1ec2822717b53dc6a61c
parent8b712a27b7faa8e6eb0cbb4c2c0620df84b4eb0b
The 1's complement checksum in m->m_pkthdr.csum_data was not being properly
calculated.  With 1's complement you have to take the carry past 16 bits
and fold it back into the checksum.
sys/netinet/ip_input.c