From owner-freebsd-net@FreeBSD.ORG Fri Mar 26 22:00:14 2010 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F346106566C for ; Fri, 26 Mar 2010 22:00:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F311C8FC18 for ; Fri, 26 Mar 2010 22:00:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2QM0DCN043871 for ; Fri, 26 Mar 2010 22:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2QM0DIf043870; Fri, 26 Mar 2010 22:00:13 GMT (envelope-from gnats) Date: Fri, 26 Mar 2010 22:00:13 GMT Message-Id: <201003262200.o2QM0DIf043870@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Andrey Zonov Cc: Subject: Re: kern/144000: [tcp] ignore set TCP_MAXSEG by setsockopt() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrey Zonov List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2010 22:00:14 -0000 The following reply was made to PR kern/144000; it has been noted by GNATS. From: Andrey Zonov To: John Baldwin Cc: bug-followup@freebsd.org Subject: Re: kern/144000: [tcp] ignore set TCP_MAXSEG by setsockopt() Date: Sat, 27 Mar 2010 00:59:19 +0300 For 7/8-stable not helped me. John Baldwin ?????: > On Thursday 25 February 2010 3:49:00 am Andrey Zonov wrote: > >> I have found patch at [1] and adapted for 8.0-p1 >> >> jhb, why you not added this patch in HEAD? >> >> >> [1] http://people.freebsd.org/~jhb/patches/tcp_maxseg.patch >> > > Actually, can you try this simpler patch instead: > > Index: tcp_input.c > =================================================================== > --- tcp_input.c (revision 205624) > +++ tcp_input.c (working copy) > @@ -3100,12 +3100,10 @@ > #ifdef INET6 > if (isipv6) { > maxmtu = tcp_maxmtu6(&inp->inp_inc, mtuflags); > - tp->t_maxopd = tp->t_maxseg = V_tcp_v6mssdflt; > } else > #endif > { > maxmtu = tcp_maxmtu(&inp->inp_inc, mtuflags); > - tp->t_maxopd = tp->t_maxseg = V_tcp_mssdflt; > } > > /* > > -- Andrey Zonov