Re: udp checksum issue in netpoll mode.

From: Stephen Hemminger
Date: Thu Apr 12 2007 - 10:50:31 EST


Aubrey Li wrote:
I think we discussed this issue before.

The current checksum function doesn't consider the kind of packet
which is padded to reach a specific minimum length. I believe that's
the problem caused my test case failed. Is this issue fixed? Or is it
acceptable if I make a patch not calculating this kind of packet?

Thanks,
-Aubrey
The caller should be trimming the packet and updating the hardware checksum
value (like the normal UDP path).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/