From owner-freebsd-pf@FreeBSD.ORG Sat Dec 30 05:23:00 2006 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29A4916A40F for ; Sat, 30 Dec 2006 05:23:00 +0000 (UTC) (envelope-from earl.lapus@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id B87FC13C458 for ; Sat, 30 Dec 2006 05:22:59 +0000 (UTC) (envelope-from earl.lapus@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so5708721nfc for ; Fri, 29 Dec 2006 21:22:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kRYlKdszF0aRu8ECrgf72Wmk/xMQU3Tl9LJHfZCbgFrgdb8SZvi5ilUY9xKvEVzxuv706zqcooJnXKOf4lobL698Zi3D7BvaoMUuHGcYm9XRGYpd5EXGI1OYJ1rQ+MxQ1GFSO3FwChvQicO7hftvnZpkyUkIfheD9LycA1L18xA= Received: by 10.78.203.13 with SMTP id a13mr1274873hug.1167456178512; Fri, 29 Dec 2006 21:22:58 -0800 (PST) Received: by 10.78.137.13 with HTTP; Fri, 29 Dec 2006 21:22:58 -0800 (PST) Message-ID: <604f76120612292122g698c594o4b73055813796407@mail.gmail.com> Date: Sat, 30 Dec 2006 13:22:58 +0800 From: "Earl Lapus" To: "Max Laier" In-Reply-To: <200612291457.35933.max@love2party.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <604f76120612281907l42a02640ia7806d452618109a@mail.gmail.com> <200612291457.35933.max@love2party.net> Cc: freebsd-pf@freebsd.org Subject: Re: cleanup_pf_zone() X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 30 Dec 2006 05:23:00 -0000 Some additional info... The undestroyed strucure, pfr_kentry_pl2, seems to be the reason why my box crashed when I did the following: 1) kldlaod pf 2) kldunload pf 3) sysctl -a or sysctl vm <-- crash I'm running FreeBSD6.1 Release on AMD64. In my case, the crash happens all the time. Sorry for not giving all the details in my first post. I just wasn't sure what was really going on. F.Y.I. On 12/29/06, Max Laier wrote: > On Friday 29 December 2006 04:07, Earl Lapus wrote: > > Just a small query about cleanup_pf_zone() in pf_ioctl.c > > > > All of the allocated structures using UMA_CREATE() in pfattach() > > were detroyed using UMA_DESTROY() in cleanup_pf_zone() except > > for pfr_kentry_pl2. > > > > Is there a particular reason why pfr_kentry_pl2 is being left out? > > Oops, seems I just forgot that one. Will take a closer look and fix it - > thanks for the report. > > -- > /"\ Best regards, | mlaier@freebsd.org > \ / Max Laier | ICQ #67774661 > X http://pf4freebsd.love2party.net/ | mlaier@EFnet > / \ ASCII Ribbon Campaign | Against HTML Mail and News > > > -- There are seven words in this sentence.