From owner-freebsd-net@FreeBSD.ORG Fri Dec 9 10:19:41 2005 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3570016A41F for ; Fri, 9 Dec 2005 10:19:41 +0000 (GMT) (envelope-from misho@interbgc.com) Received: from mail.interbgc.com (mx02.interbgc.com [217.9.224.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 249FA43D77 for ; Fri, 9 Dec 2005 10:19:39 +0000 (GMT) (envelope-from misho@interbgc.com) Received: (qmail 28899 invoked from network); 9 Dec 2005 10:19:31 -0000 Received: from misho@interbgc.com by keeper.interbgc.com by uid 1002 with qmail-scanner-1.14 (uvscan: v4.2.40/v4374. spamassassin: 2.63. Clear:SA:0(-5.9/8.0):. Processed in 3.030773 secs); 09 Dec 2005 10:19:31 -0000 X-Spam-Status: No, hits=-5.9 required=8.0 Received: from unknown.interbgc.com (HELO misho) (217.9.224.205) by mx02.interbgc.com with SMTP; 9 Dec 2005 10:19:28 -0000 Message-ID: <000001c5fcaa$0988b040$04030201@misho> From: "Mihail Balikov" To: Date: Fri, 9 Dec 2005 12:09:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Cc: Subject: BUG: ip_output.c FreeBSD 4.11 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mihail Balikov List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2005 10:19:41 -0000 Hello, In FreeBSD 4.x in ip_output.c in part for ipfw local forwarding there's typo that will cause kernel panic: regards, Mihail Balikov --- ip_output.c.orig Fri Dec 9 12:08:26 2005 +++ ip_output.c Fri Dec 9 12:08:43 2005 @@ -889,7 +889,7 @@ if (m->m_pkthdr.csum_flags & CSUM_DELAY_DATA) { m->m_pkthdr.csum_flags |= CSUM_DATA_VALID | CSUM_PSEUDO_HDR; - m0->m_pkthdr.csum_data = 0xffff; + m->m_pkthdr.csum_data = 0xffff; } m->m_pkthdr.csum_flags |= CSUM_IP_CHECKED | CSUM_IP_VALID;