From owner-freebsd-ipfw@FreeBSD.ORG Fri Jul 1 09:00:21 2011 Return-Path: Delivered-To: freebsd-ipfw@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 771B1106566B for ; Fri, 1 Jul 2011 09:00:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 67ABD8FC18 for ; Fri, 1 Jul 2011 09:00:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6190LwP027078 for ; Fri, 1 Jul 2011 09:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6190LLD027077; Fri, 1 Jul 2011 09:00:21 GMT (envelope-from gnats) Date: Fri, 1 Jul 2011 09:00:21 GMT Message-Id: <201107010900.p6190LLD027077@freefall.freebsd.org> To: freebsd-ipfw@FreeBSD.org From: "Andrey V. Elsukov" Cc: Subject: Re: kern/131817: [ipfw] blocks layer2 packets that should not be blocked X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Andrey V. Elsukov" List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2011 09:00:21 -0000 The following reply was made to PR kern/131817; it has been noted by GNATS. From: "Andrey V. Elsukov" To: bug-followup@FreeBSD.org, eugen@grosbein.pp.ru Cc: Subject: Re: kern/131817: [ipfw] blocks layer2 packets that should not be blocked Date: Fri, 01 Jul 2011 12:56:14 +0400 This is a multi-part message in MIME format. --------------000306040401040406030900 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Hi, Eugene can you test this patch? -- WBR, Andrey V. Elsukov --------------000306040401040406030900 Content-Type: text/plain; name="arpreply.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="arpreply.diff" Index: head/sys/netinet/if_ether.c =================================================================== --- head/sys/netinet/if_ether.c (revision 223705) +++ head/sys/netinet/if_ether.c (working copy) @@ -857,6 +857,7 @@ reply: ah->ar_pro = htons(ETHERTYPE_IP); /* let's be sure! */ m->m_len = sizeof(*ah) + (2 * ah->ar_pln) + (2 * ah->ar_hln); m->m_pkthdr.len = m->m_len; + m->m_pkthdr.rcvif = NULL; sa.sa_family = AF_ARP; sa.sa_len = 2; (*ifp->if_output)(ifp, m, &sa, NULL); --------------000306040401040406030900--