Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2008 15:30:12 +0400
From:      misha saf <msaf1980@rambler.ru>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        freebsd-net@FreeBSD.org, Kris Kennaway <kris@FreeBSD.org>, bug-followup@FreeBSD.org
Subject:   Re: misc/123066: kernel trap with ipsec
Message-ID:  <747012630.1209382212.63629384.16040@mcgi75.rambler.ru>
In-Reply-To: <20080428082020.C66744@maildrop.int.zabbadoz.net>
References:  <200804250720.m3P7K3Jk019605@freefall.freebsd.org> <20080426130908.GE47671@hub.freebsd.org> <923282750.1209358191.50616216.62540@mcgi59.rambler.ru> <20080428082020.C66744@maildrop.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> [Mon, 28 Apr 2008 
08:22:20 +0000 (UTC)]:
> On Mon, 28 Apr 2008, misha saf wrote:
>
> Hi,
>
> > db> trace
> > Tracing pid 996 tid 100075 td 0xc1ed2210
> > generic_bcopy(c1c8b700, c1eeac80,0,14,9,...) at generic_bcopy+0x1a
> > ipsec4_process_packet(c1c8b700, c1eeac80,20,0,c1f00924,...) at
> > ipsec4_process_packet+0x28b
>
>
> Could you alos lookup which line of code this is?
>
> gdb /path/to/kernel.debug
> l *ipsec4_process_packet+0x28b
>
> --
> Bjoern A. Zeeb              Stop bit received. Insert coin for new 
game.

(gdb) l *ipsec4_process_packet+0x28b
0xc08fecab is in ipsec4_process_packet 
(/usr/src/sys/netipsec/ipsec_output.c:486).
481              */
482             if (sav->tdb_xform->xf_type != XF_IP4) {
483                     ip = mtod(m, struct ip *);
484                     i = ip->ip_hl << 2;
485                     off = offsetof(struct ip, ip_p);
486                     error = (*sav->tdb_xform->xf_output)(m, isr, 
NULL, i, off);
487             } else {
488                     error = ipsec_process_done(m, isr);
489             }
490             IPSECREQUEST_UNLOCK(isr);



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