Date: Tue, 02 Dec 2008 23:09:13 -0800 From: Jonathan Feally <vulture@netvulture.com> To: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: dhclient doing DISCOVER with bad IP checksum - compile optimization issue Message-ID: <49363099.5040701@netvulture.com> In-Reply-To: <4935FA57.6080106@netvulture.com> References: <4933A00E.7080201@netvulture.com> <4934C733.4020506@netvulture.com> <E1L7XnR-000Hmn-JA@kabab.cs.huji.ac.il> <49357329.9000107@netvulture.com> <493587D4.5000400@netvulture.com> <4935FA57.6080106@netvulture.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ok, I managed to cause it again. dhclient was the problem. My source tree was fine. Turns out that it is my make.conf CFLAGS=-O3 setting. When compiled with -O3 it will generate packets with bad checksums. Simply recompiling it with -O2 did not cause this issue and dhclient works fine. So the question becomes, what is happening with -O3 that is breaking it? So far I am not having any other issues with -O3 on the rest of the system. -Jon -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49363099.5040701>