From owner-freebsd-ipfw@FreeBSD.ORG Mon Apr 2 07:53:51 2007 Return-Path: X-Original-To: freebsd-ipfw@FreeBSD.org Delivered-To: freebsd-ipfw@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1662116A401 for ; Mon, 2 Apr 2007 07:53:51 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp4.yandex.ru (smtp4.yandex.ru [213.180.223.136]) by mx1.freebsd.org (Postfix) with ESMTP id EBEA013C484 for ; Mon, 2 Apr 2007 07:53:49 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([87.226.153.33]:1544 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S7768306AbXDBHxn (ORCPT + 2 others); Mon, 2 Apr 2007 11:53:43 +0400 X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: bu7cher Message-ID: <4610B683.5070204@yandex.ru> Date: Mon, 02 Apr 2007 11:53:39 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Remko Lodder References: <200704020556.l325uvpA026134@freefall.freebsd.org> In-Reply-To: <200704020556.l325uvpA026134@freefall.freebsd.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-ipfw@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/111121: After the latest changes ipfw2 complains: "ipfw: opcode 50 size 2 wrong" X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 07:53:51 -0000 Remko Lodder пишет: > Synopsis: After the latest changes ipfw2 complains: "ipfw: opcode 50 size 2 wrong" > > Responsible-Changed-From-To: freebsd-bugs->freebsd-ipfw > Responsible-Changed-By: remko > Responsible-Changed-When: Mon Apr 2 05:56:31 UTC 2007 > Responsible-Changed-Why: > Over to ipfw maintainers > > http://www.freebsd.org/cgi/query-pr.cgi?pr=111121 Hi, try this patch. --- src/sys/netinet/ip_fw2.c.orig Mon Apr 2 11:48:03 2007 +++ src/sys/netinet/ip_fw2.c Mon Nov 20 18:19:10 2006 @@ -3861,7 +3836,7 @@ case O_PIPE: case O_QUEUE: - if (cmdlen != F_INSN_SIZE(ipfw_insn)) + if (cmdlen != F_INSN_SIZE(ipfw_insn_pipe)) goto bad_size; goto check_action; -- WBR, Andrey V. Elsukov