Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2001 13:44:31 +0000
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        Manuel Kasper <manuelk@bluewin.ch>
Cc:        freebsd-stable@freebsd.org, "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>, iedowse@maths.tcd.ie
Subject:   Re: panic, ipfw broken in stable? 
Message-ID:   <200103101344.aa31695@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Sat, 10 Mar 2001 12:38:17 %2B0100." <200103101238170970.00A30124@smtp.freesurf.ch> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200103101238170970.00A30124@smtp.freesurf.ch>, Manuel Kasper writes
:
>
>Please tell me if there's anything else I can do in order to help eliminate
>the bug.

It seems that any dummynet configuration that passes output packets
through a dummynet pipe will cause this. Here is a patch that
appears to work around the problem:

Ian

Index: ip_output.c
===================================================================
RCS file: /dump/FreeBSD-CVS/src/sys/netinet/ip_output.c,v
retrieving revision 1.99.2.12
diff -u -r1.99.2.12 ip_output.c
--- ip_output.c	2001/03/04 21:09:46	1.99.2.12
+++ ip_output.c	2001/03/10 02:23:07
@@ -179,6 +179,7 @@
 #endif
             ip = mtod(m, struct ip *);
             hlen = IP_VHL_HL(ip->ip_vhl) << 2 ;
+            ia = (struct in_ifaddr *)ro->ro_rt->rt_ifa;
             goto sendit;
         } else
             rule = NULL ;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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