cvs commit: src/sys/netinet tcp.h tcp_input.c tcp_output.c tcp_syncache.c tcp_var.h

Kip Macy kip.macy at gmail.com
Sat Mar 17 06:22:53 UTC 2007


It appears that the problem is on line 1229 - you increment ip->ip_len
unconditionally, but if its an inet6 connection *ip is NULL. I'll see
if I can't fix.  Of course there is another bug her because this isn't
an ipv6 connection.




On 3/16/07, Kip Macy <kip.macy at gmail.com> wrote:
> I get a panic in tcp_syncache when I fire up xemacs over "ssh -Y".
>
>               -Kip
>
> On 3/15/07, Andre Oppermann <andre at freebsd.org> wrote:
> > andre       2007-03-15 15:59:28 UTC
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     sys/netinet          tcp.h tcp_input.c tcp_output.c
> >                          tcp_syncache.c tcp_var.h
> >   Log:
> >   Consolidate insertion of TCP options into a segment from within tcp_output()
> >   and syncache_respond() into its own generic function tcp_addoptions().
> >
> >   tcp_addoptions() is alignment agnostic and does optimal packing in all cases.
> >
> >   In struct tcpopt rename to_requested_s_scale to just to_wscale.
> >
> >   Add a comment with quote from RFC1323: "The Window field in a SYN (i.e.,
> >   a <SYN> or <SYN,ACK>) segment itself is never scaled."
> >
> >   Reviewed by:    silby, mohans, julian
> >   Sponsored by:   TCP/IP Optimization Fundraise 2005
> >
> >   Revision  Changes    Path
> >   1.35      +5 -2      src/sys/netinet/tcp.h
> >   1.317     +2 -2      src/sys/netinet/tcp_input.c
> >   1.126     +199 -146  src/sys/netinet/tcp_output.c
> >   1.105     +43 -75    src/sys/netinet/tcp_syncache.c
> >   1.140     +14 -8     src/sys/netinet/tcp_var.h
> >
>


More information about the cvs-src mailing list