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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux