Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 1999 17:59:23 -0800 (PST)
From:      Kris Kennaway <kris@hub.freebsd.org>
To:        Pierre Beyssac <pb@fasterix.freenix.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: egcs -O breaks ping.c:in_cksum()
Message-ID:  <Pine.BSF.4.10.9911151758400.16597-100000@hub.freebsd.org>
In-Reply-To: <19991116002921.A39215@fasterix.frmug.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Nov 1999, Pierre Beyssac wrote:

> > [in_cksum bugs]
> > 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?).
> 
> I've checked, the answer is no: apparently, in_cksum() in routed/rdisc.c
> is only called in two places, both with an even size.

Can it hurt to pre-emptively fix it anyway in case some future change
pulls the rug out from underneath?

Kris

----
Cthulhu for President! For when you're tired of choosing the _lesser_ of
two evils..



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9911151758400.16597-100000>