From owner-freebsd-current Mon Nov 15 12:11:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from enst.enst.fr (enst.enst.fr [137.194.2.16]) by hub.freebsd.org (Postfix) with ESMTP id B08F81510D for ; Mon, 15 Nov 1999 12:11:27 -0800 (PST) (envelope-from beyssac@enst.fr) Received: from bofh.enst.fr (bofh-2.enst.fr [137.194.2.37]) by enst.enst.fr (8.9.1a/8.9.1) with ESMTP id VAA07878; Mon, 15 Nov 1999 21:11:19 +0100 (MET) Received: by bofh.enst.fr (Postfix, from userid 12426) id 437F1D226; Mon, 15 Nov 1999 21:11:19 +0100 (CET) Message-ID: <19991115211119.A34706@enst.fr> Date: Mon, 15 Nov 1999 21:11:19 +0100 From: Pierre Beyssac To: Garrett Wollman , Sheldon Hearn , dillon@apollo.backplane.com Cc: freebsd-current@freebsd.org Subject: Re: egcs -O breaks ping.c:in_cksum() References: <19991115174831.B30139@enst.fr> <92805.942684743@axl.noc.iafrica.com> <19991115180145.A31542@enst.fr> <199911151835.NAA07676@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199911151835.NAA07676@khavrinen.lcs.mit.edu>; from Garrett Wollman on Mon, Nov 15, 1999 at 01:35:15PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [in_cksum bugs] Fix committed for ping. There's another bug in sbin/routed/rdisc.c:in_cksum() on odd packet sizes, albeit I'm not sure it's ever triggered (does routed ever generate odd-size packets?). It's a portability bug (works only on little-endian machines). I'll commit the same fix if there's no objection. -- Pierre Beyssac pb@enst.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message