From owner-freebsd-pf@freebsd.org Wed Feb 14 13:09:42 2018 Return-Path: Delivered-To: freebsd-pf@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38E90F212DF for ; Wed, 14 Feb 2018 13:09:42 +0000 (UTC) (envelope-from srs0=odhb=fi=sigsegv.be=kristof@codepro.be) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C73C97647A for ; Wed, 14 Feb 2018 13:09:41 +0000 (UTC) (envelope-from srs0=odhb=fi=sigsegv.be=kristof@codepro.be) Received: from [172.20.10.2] (unknown [120.22.103.117]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id 6206855647; Wed, 14 Feb 2018 14:09:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sigsegv.be; s=mail; t=1518613779; bh=LAfAsTuRJpSyOTo5p03LxQ6fzyuVGDoAFH4fnHUb9H0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=sDnpIYyFPGYpM+e+At1ff92T8GCZjdh4s/bHe8IkbGNtlAJy1ISyVyi9KgeY55fUi mFMLI2bFBjgZCJCCz6GLwbpMiJn1wdM+4cQu4K7fngwVYeIrxUgNYtGAJUa4yn7+Ap g0ll8I28wacRyiFask3n4dLQeDUonFL4Mylf1/w4= From: "Kristof Provost" To: "Joe Jones" Cc: freebsd-pf@freebsd.org Subject: Re: Kernel Panic Date: Thu, 15 Feb 2018 00:09:30 +1100 X-Mailer: MailMate (2.0BETAr6103) Message-ID: In-Reply-To: <5A842FC6.7020806@stream-technologies.com> References: <5A842FC6.7020806@stream-technologies.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2018 13:09:42 -0000 On 14 Feb 2018, at 23:47, Joe Jones wrote: > Hi, > > we are running test traffic through our system, after between 1 and 12 > hours we get a kernel panic, always in the pfr_pool_get function in > /usr/src/sys/netpfil/pf/pf_table.c line 2140. After a bit of > investigation I confirmed that ke2 is set to null on line 2122. > It’d probably be interesting to know what the contents of uaddr/addr is here. From a very quick look at the code there’s supposed to be a route lookup there, and I’d expect there to always be a result. The code certainly expects it, because that looks to be what causes the panic. Regards, Kristof