From owner-freebsd-ipfw@FreeBSD.ORG Thu Feb 19 03:30:05 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 2AE2A106566C for ; Thu, 19 Feb 2009 03:30:05 +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 F278D8FC1C for ; Thu, 19 Feb 2009 03:30:04 +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 n1J3U4s1063066 for ; Thu, 19 Feb 2009 03:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1J3U4G4063058; Thu, 19 Feb 2009 03:30:04 GMT (envelope-from gnats) Date: Thu, 19 Feb 2009 03:30:04 GMT Message-Id: <200902190330.n1J3U4G4063058@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: Thu, 19 Feb 2009 03:30:05 -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: Thu, 19 Feb 2009 10:22:45 +0700 Quick fix, tested, no panic. apply in /sys/contrib/ipfilter/netinet --- ip_nat.c.std 2007-10-31 12:00:38.000000000 +0700 +++ ip_nat.c 2009-02-19 10:20:05.000000000 +0700 @@ -2552,6 +2552,10 @@ { frentry_t *fr; ipnat_t *np; + + if (fin->fin_p == IPPROTO_TCP && tcp == NULL) { + return -1; + } np = ni->nai_np; --- Best regards, Vladimir