Louis A. Mamakos writes:
 > The other type of failure you might not catch are software errors; that
 > is, where a packet is produced by the network stack and then is
 > subsequently stomped on by a random store from some other code.  Or
 > a mis-programmed I/O card with scatter/gather capability doesn't pick 
 > up what was intended, etc.  The Internet checksum is useful for
 > detecting this class of error.
 > 

No, you're missing the point almost entirely.  The checksum is not
skipped.  It is calculated by the DMA engine based on the data that's
transferred across the I/O bus on the receiver (and / or the sender).
If the data is incorrect as seen by the receiving nic, the checksum
will be wrong and the packet will be dropped.

If the packet lands in the wrong place, you have much worse problems. 

Drew

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to