From: Patrick McHardy Subject: Re: [netfilter-core] Re: [PATCH] Avoid unncessary checksum validation in TCP/UDP netfilter Date: Sun, 12 Jun 2005 17:06:03 +0200 Message-ID: <42AC4F5B.1040907@trash.net> References: <20050527112039.GA10084@linuxace.com> <875052371a3a7c5217e413d7250320f9@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <875052371a3a7c5217e413d7250320f9@cl.cam.ac.uk> Sender: linux-kernel-owner@vger.kernel.org To: Keir Fraser Cc: Phil Oester , cedric@schieli.dyndns.org, coreteam@netfilter.org, xen-devel@lists.xensource.com, linux-kernel@vger.kernel.org List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > 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. TCP was changed to fix a regression with loopback packets. I've added the UDP part of your patch to my 2.6.13 tree. Regards Patrick