From owner-freebsd-ipfw@FreeBSD.ORG Fri May 8 01:30:03 2009 Return-Path: Delivered-To: freebsd-ipfw@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E56BB106566B for ; Fri, 8 May 2009 01:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D3B018FC0A for ; Fri, 8 May 2009 01:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n481U32J099800 for ; Fri, 8 May 2009 01:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n481U34D099797; Fri, 8 May 2009 01:30:03 GMT (envelope-from gnats) Date: Fri, 8 May 2009 01:30:03 GMT Message-Id: <200905080130.n481U34D099797@freefall.freebsd.org> To: freebsd-ipfw@FreeBSD.org From: Vladimir Kurtukov Cc: Subject: kern/131601: [ipfw] [panic] 7-STABLE panic in nat_finalise (tcp=0) X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vladimir Kurtukov List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2009 01:30:04 -0000 The following reply was made to PR kern/131601; it has been noted by GNATS. From: Vladimir Kurtukov To: bug-followup@FreeBSD.org Cc: Subject: kern/131601: [ipfw] [panic] 7-STABLE panic in nat_finalise (tcp=0) Date: Fri, 8 May 2009 08:46:33 +0800 use my patch, it works also, these who using ipnat ftp proxy, need to apply this patch. --- ip_ftp_pxy.c.orig 2007-06-04 10:54:35.000000000 +0800 +++ ip_ftp_pxy.c 2009-05-08 08:48:04.000000000 +0800 @@ -1010,6 +1010,8 @@ return 0; } else if (mlen < 0) { return 0; + } else if (nat->nat_aps == NULL) { + return 0; } aps = nat->nat_aps; --- Best regards, Vladimir