Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2008 21:20:05 +0100
From:      Rui Paulo <rpaulo@fnop.net>
To:        Andre Oppermann <andre@freebsd.org>
Cc:        freebsd-net@freebsd.org, rpaulo@freebsd.org, Mark Atkinson <atkin901@yahoo.com>
Subject:   Re: panic: tcp_addoptions: TCP options too long w/ with TCP_SIGNATURE support
Message-ID:  <20080401202005.GB1491@fnop.net>
In-Reply-To: <47F29471.10901@freebsd.org>
References:  <fstmm9$oci$1@ger.gmane.org> <20080401191246.GA1491@fnop.net> <fsu2c6$6iv$1@ger.gmane.org> <47F29471.10901@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 01, 2008 at 10:00:49PM +0200, Andre Oppermann wrote:
> 
> The order of the TCP options was changed recently to fix another problem.
> This has caused sub-optimal padding and this overflow as not all options
> fit.  The tcp_addoptions() loop is not bound internally.
> 
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/tcp_output.c?rev=1.146

Hmm. Are you sure you wanted to show this revision ?
There's not change for optlen because TCPOLEN_NOP == 1, I think.

-- 
Rui Paulo



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