Re: [RFC/PATCH] SO_NO_CHECK for IPv6

From: Jeff Garzik
Date: Wed Nov 21 2007 - 19:18:10 EST


YOSHIFUJI Hideaki / åèèæ wrote:
In article <20071121124532.GA17263@xxxxxxxxxxxxx> (at Wed, 21 Nov 2007 07:45:32 -0500), Jeff Garzik <jeff@xxxxxxxxxx> says:

SO_NO_CHECK support for IPv6 appeared to be missing. This is presented,
based on a reading of net/ipv4/udp.c.

Disagree. UDP checksum is mandatory in IPv6.

Ah, you mean that I need to turn off UDP checksum on receive end as well in IPv6... true.

For those interested, I am dealing with a UDP app that already does very strong checksumming and encryption, so additional software checksumming at the lower layers is quite simply a waste of CPU cycles. Hardware checksumming is fine, as long as its "free."

Jeff



-
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/