From owner-freebsd-net@FreeBSD.ORG Mon Apr 28 11:30:16 2008 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11C01106566B; Mon, 28 Apr 2008 11:30:16 +0000 (UTC) (envelope-from msaf1980@rambler.ru) Received: from mcgi75.rambler.ru (mcgi75.rambler.ru [81.19.67.218]) by mx1.freebsd.org (Postfix) with ESMTP id EF6978FC24; Mon, 28 Apr 2008 11:30:14 +0000 (UTC) (envelope-from msaf1980@rambler.ru) Received: from [85.115.161.131] by mcgi75.rambler.ru with HTTP (mailimap); Mon, 28 Apr 2008 15:30:12 +0400 From: misha saf To: "Bjoern A. Zeeb" Date: Mon, 28 Apr 2008 15:30:12 +0400 MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="windows-1251"; format="flowed" References: <200804250720.m3P7K3Jk019605@freefall.freebsd.org> <20080426130908.GE47671@hub.freebsd.org> <923282750.1209358191.50616216.62540@mcgi59.rambler.ru> <20080428082020.C66744@maildrop.int.zabbadoz.net> In-Reply-To: <20080428082020.C66744@maildrop.int.zabbadoz.net> Message-Id: <747012630.1209382212.63629384.16040@mcgi75.rambler.ru> X-Mailer: Ramail 3u, (untone) Cc: freebsd-net@FreeBSD.org, Kris Kennaway , bug-followup@FreeBSD.org Subject: Re: misc/123066: kernel trap with ipsec X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 11:30:16 -0000 * "Bjoern A. Zeeb" [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);