Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2009 03:30:04 GMT
From:      Vladimir Kurtukov <vk@kbb.ru>
To:        freebsd-ipfw@FreeBSD.org
Subject:   kern/131601: [ipfw] [panic] 7-STABLE panic in nat_finalise (tcp=0)
Message-ID:  <200902190330.n1J3U4G4063058@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/131601; it has been noted by GNATS.

From: Vladimir Kurtukov <vk@kbb.ru>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902190330.n1J3U4G4063058>