Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2005 14:56:39 +0200
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        Doug White <dwhite@gumbysoft.com>
Cc:        Jeremie Le Hen <jeremie@le-hen.org>
Subject:   Re: panic in recent RELENG_5 tcp code path
Message-ID:  <20050519125639.GK818@obiwan.tataz.chchile.org>
In-Reply-To: <20050518155130.H87264@carver.gumbysoft.com>
References:  <20050515120007.GA777@obiwan.tataz.chchile.org> <20050518155130.H87264@carver.gumbysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Doug, thanks for your answer.

> Can you load a kernel.debug into gdb and do "l *(tcp_output+0xb49)"  and
> post the output? that offset isn't a function call in my kernel.
> tcp_output() doesn't call m_copypacket directly so the exact spot is
> difficult to find.

%%%
    (gdb) l *(tcp_output+0xb49)
    0xc061b63d is in tcp_output (../../../netinet/tcp_output.c:813).
    808                     m->m_data += max_linkhdr;
    809                     m->m_len = hdrlen;
    810                     if (len <= MHLEN - hdrlen - max_linkhdr) {
    811                             m_copydata(so->so_snd.sb_mb, off, (int) len,
    812                                 mtod(m, caddr_t) + hdrlen);
    813                             m->m_len += len;
    814                     } else {
    815                             m->m_next = m_copy(so->so_snd.sb_mb, off, (int) len);
    816                             if (m->m_next == 0) {
    817                                     SOCKBUF_UNLOCK(&so->so_snd);
%%%

tcp_output.c rev 1.100.2.7.

-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >



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