Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2002 08:20:45 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        David Xu <davidx@viasoft.com.cn>
Cc:        John Polstra <jdp@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/i386/i386 in_cksum.c src/sys/i386/include         in_cksum.h
Message-ID:  <20020702052044.GA25618@hades.hell.gr>
In-Reply-To: <006c01c2217c$e4f49250$ef01a8c0@davidwnt>
References:  <200207020403.g62434Iv003501@freefall.freebsd.org> <006c01c2217c$e4f49250$ef01a8c0@davidwnt>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-07-02 11:59 +0000, David Xu wrote:
> > jdp         2002/07/01 21:03:04 PDT
> > 
> >   Modified files:        (Branch: RELENG_4)
> >     sys/i386/i386        in_cksum.c 
> >     sys/i386/include     in_cksum.h 
> >   Log:
> >   MFC: Fixes to asm statements in the Internet checksum code to make
> >   them safer at high optimization levels.
>
> Does this mean that we can safely compile kernel with -O2?

Well, probably no.  But it does mean that -O2 will not cause checksums
to fail randomly and cause packets to be dropped because of invalid
0xfffe checksums (as tcpdump reported for me a long time ago, when I
was hit by this).


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020702052044.GA25618>