From owner-cvs-all@FreeBSD.ORG Sat Mar 17 07:27:52 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3FC5E16A400 for ; Sat, 17 Mar 2007 07:27:52 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.225]) by mx1.freebsd.org (Postfix) with ESMTP id DEE7413C457 for ; Sat, 17 Mar 2007 07:27:51 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so734785wxc for ; Sat, 17 Mar 2007 00:27:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=uq024hudv9dVqVdOLLinAl08RhCuB0AQMyJKXtqtLuQj6yfKYBfseMM65hEgQ/aEmUuAcX9qJloWI6FgZt+9O+wYv6yGs5+bclTEqbouL4iBqXlm9rZOtidEZRsCA5MLqw0uoWXYzF+hxTBi/AuTjie/iRwLQRMYjB+zY8rNOyE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=gaIlR+ZgTSenNQOSiNBXzN3OTL6+eq8iDkxFxWfoK8BvxCW4jRd7/QZRMGi1vvgfzVLF8UBghQjqYcEeU2FfLF5ylQ0GotWpGnsinp34LjYDu+/9+NjKzQ9t0lr8DePKsd9nCwTFX+JucLhxL+LCOOFXlPzmdpj7es+3LrIjKGE= Received: by 10.90.49.19 with SMTP id w19mr2601908agw.1174116471110; Sat, 17 Mar 2007 00:27:51 -0700 (PDT) Received: by 10.90.25.1 with HTTP; Sat, 17 Mar 2007 00:27:51 -0700 (PDT) Message-ID: Date: Sat, 17 Mar 2007 00:27:51 -0700 From: "Kip Macy" To: "Andre Oppermann" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: IPv6 breakage in recent changes - Re: cvs commit: src/sys/netinet tcp_syncache.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Mar 2007 07:27:52 -0000 On 3/16/07, Kip Macy wrote: > I didn't realize that FreeBSD uses ipv6 by default, so X11 should be > using it. However, connections take a long long time now. Previously > it took 1s for an xterm to come up, now it takes 20 - 30. > > Andre - if you're unable to isolate the problem please back out your > recent changes. > > -Kip I've narrowed it down slightly further, ipv4 works just fine. ipv6 connections, at least over loopback (too tired to configure the interfaces now), take 75 seconds to occur. So disabling ipv6 should "fix" the problem. I'll ask gnn how he feels about that :-). -Kip > > > On 3/16/07, Kip Macy wrote: > > kmacy 2007-03-17 06:40:09 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/netinet tcp_syncache.c > > Log: > > Fix the most obvious of the bugs introduced by recent syncache changes > > > > - *ip is not initialized in the case of inet6 connection, but ip->ip_len is > > being changed anyway > > > > Now the question is, why does it think an ipv4 connection is an ipv6 connection? > > xemacs still doesn't work over X11 forwarding, but the kernel no longer panics. > > > > Revision Changes Path > > 1.106 +3 -0 src/sys/netinet/tcp_syncache.c > > >