From owner-cvs-all@FreeBSD.ORG Wed May 4 14:54:19 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 756FC16A4D0 for ; Wed, 4 May 2005 14:54:19 +0000 (GMT) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C33D43D7E for ; Wed, 4 May 2005 14:54:18 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 95523 invoked from network); 4 May 2005 14:53:04 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.53]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 4 May 2005 14:53:04 -0000 Message-ID: <4278E1F2.65A109AC@freebsd.org> Date: Wed, 04 May 2005 16:53:38 +0200 From: Andre Oppermann X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Bruce M Simpson References: <200505041348.j44DmiEQ055445@repoman.freebsd.org> <20050504143200.GC746@empiric.icir.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet tcp_subr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 04 May 2005 14:54:19 -0000 Bruce M Simpson wrote: > > On Wed, May 04, 2005 at 01:48:44PM +0000, Andre Oppermann wrote: > > Log: > > If we don't get a suggested MTU during path MTU discovery > > look up the packet size of the packet that generated the > > response, step down the MTU by one step through ip_next_mtu() > > and try again. > > Yay! Now I really need to sit down and sort out the gre(4) PMTU story. What's the problem there? > Of course a more generic way of doing this might be good, e.g. a generic > PMTU callback for each protocol which needs to exchange this information > with the IP/ICMP layer. There is. Look into ip_icmp.c:icmp_input(). -- Andre