From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: Zero checksum in netconsole/netdump packets Date: Mon, 06 Nov 2006 23:16:03 -0800 (PST) Message-ID: <20061106.231603.15264009.davem@davemloft.net> References: <454FC80B.9090001@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org Return-path: Received: from dsl027-180-168.sfo1.dsl.speakeasy.net ([216.27.180.168]:57002 "EHLO sunset.davemloft.net") by vger.kernel.org with ESMTP id S1753528AbWKGHP7 (ORCPT ); Tue, 7 Nov 2006 02:15:59 -0500 To: clalance@redhat.com In-Reply-To: <454FC80B.9090001@redhat.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Chris Lalancette Date: Mon, 06 Nov 2006 18:40:59 -0500 > Assuming that this is just an oversight, attached is a simple > patch to compute the UDP checksum in netpoll_send_udp. If the resulting checksum is zero, you should set it to all 1's, like the real UDP code does.