Re: Are "skb->data" physically continuous?

From: Jamie Lokier (jamie@shareable.org)
Date: Tue Sep 16 2003 - 06:27:28 EST


Nick Patavalis wrote:
> How should the kernel be notified if the calculation of a checksum
> failed (checksum does not match). Reading the e100 source, I see that
> if the checksums (any of the checksums, I presume) of a packet are
> invalid, then the driver sets "skb->ip_summed" to CHECKSUM_NONE; but
> won't this force the kernel to re-calculate the checksums, although
> they are, in this case, a-priori known to be invalid?

I'm reading the 2.6.0-test5 e100 source, and I don't see anywhere
where it's set to CHECKSUM_NONE if the checksum is known to be
invalid. I see CHECKSUM_UNNECESSARY in those cases.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html