Re: [PATCH] Avoid unncessary checksum validation in TCP/UDP netfilter

From: Keir Fraser
Date: Sat May 28 2005 - 03:53:22 EST



On 27 May 2005, at 12:20, Phil Oester wrote:

On Fri, May 27, 2005 at 12:03:08PM +0100, Keir Fraser wrote:
The TCP/UDP connection-tracking code in netfilter validates the
checksum of incoming packets, to prevent nastier errors further down
the road. This check is unnecessary if the skb is marked as
CHECKSUM_UNNECESSARY.

It seems at least part of this has already been merged in 2.6.12-rc

It would be great if the UDP code also would observe CHECKSUM_UNNECESSARY. I'll wait for 2.6.12 to appear and then submit a new patch if UDP has been missed.

Thanks,
Keir

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