The following reply was made to PR kern/144000; it has been noted by GNATS.
From: John Baldwin <j...@freebsd.org> To: Andrey Zonov <andrey.zo...@gmail.com> Cc: bug-follo...@freebsd.org Subject: Re: kern/144000: [tcp] ignore set TCP_MAXSEG by setsockopt() Date: Wed, 24 Mar 2010 16:24:39 -0400 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; } /* -- John Baldwin _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"