Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2010 22:00:13 GMT
From:      Andrey Zonov <andrey.zonov@gmail.com>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/144000: [tcp] ignore set TCP_MAXSEG by setsockopt()
Message-ID:  <201003262200.o2QM0DIf043870@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/144000; it has been noted by GNATS.

From: Andrey Zonov <andrey.zonov@gmail.com>
To: John Baldwin <jhb@freebsd.org>
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
 



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