[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kern/131601: [ipfw] [panic] 7-STABLE panic in nat_finalise (tcp=0)



The following reply was made to PR kern/131601; it has been noted by GNATS.

From: Vladimir Kurtukov <vk_(_at_)_kbb_(_dot_)_ru>
To: bug-followup_(_at_)_FreeBSD_(_dot_)_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
_______________________________________________
freebsd-ipfw_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org