Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Sep 2007 20:48:03 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        freebsd-ipfw@freebsd.org
Cc:        andre@freebsd.org, rwatson@freebsd.org
Subject:   Re: dummynet / ipfw2: panic, double fault
Message-ID:  <1261981188838083@webmail15.yandex.ru>

next in thread | raw e-mail | index | archive | help

------==--bound.126199.webmail15.yandex.ru
Content-Transfer-Encoding: 7bit
Content-Type: text/plain

Hi, 

I got a trace for this fault.
dummynet reinject packet to the ip_input through netisr_dispath. 
This procedure was done success several times, but in the next time
it's fault.

(kgdb) p &ipfw_chk
$1 = (int (*)(struct ip_fw_args *)) 0xc3374ea0 <ipfw_chk>
(kgdb) l *(0xc3374ea0+0x16)
0xc3374eb6 is in ipfw_chk (/usr/src/sys/modules/ipfw/../../netinet/ip_fw2.c:2304).
2299             * ip   is the beginning of the ip(4 or 6) header.
2300             *      Calculated by adding the L3offset to the start of data.
2301             *      (Until we start using L3offset, the packet is
2302             *      supposed to start with the ip header).
2303             */
2304            struct mbuf *m = args->m;
2305            struct ip *ip = mtod(m, struct ip *);
2306
2307            /*
2308             * For rules which contain uid/gid or jail constraints, cache

I don't understand why we have panic here.. 
Can someone explain this panic?

--
WBR, Andrey V. Elsukov
------==--bound.126199.webmail15.yandex.ru
Content-Disposition: attachment;
	filename="log.txt"
Content-Transfer-Encoding: base64
Content-Type: text/plain;
	name="log.txt"

RmF0YWwgZG91YmxlIGZhdWx0OgplaXAgPSAweGMzMzQzZWI2CmVzcCA9IDB4ZDRmODBmN2MKZWJw
ID0gMHhkNGY4MTI3YwpjcHVpZCA9IDA7IGFwaWMgaWQgPSAwMApwYW5pYzogZG91YmxlIGZhdWx0
CmNwdWlkID0gMApLREI6IGVudGVyOiBwYW5pYwpbdGhyZWFkIHBpZCAzMyB0aWQgMTAwMDM3IF0K
U3RvcHBlZCBhdCAgICAgIGtkYl9lbnRlcisweDMyOiBsZWF2ZQpkYj4gYnQKV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<https://mail-archive.FreeBSD.org/cgi/mid.cgi?1261981188838083>