From owner-svn-src-all@FreeBSD.ORG Tue Oct 7 14:18:46 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:1900:2254:206a::19:2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43F06D0C; Tue, 7 Oct 2014 14:18:46 +0000 (UTC) Received: from butcher-nb.yandex.net (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by mx2.freebsd.org (Postfix) with ESMTP id 1AA74254D; Tue, 7 Oct 2014 14:18:44 +0000 (UTC) Message-ID: <5433F5EE.3010006@FreeBSD.org> Date: Tue, 07 Oct 2014 18:17:18 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: Marko Zec Subject: Re: svn commit: r272695 - head/sys/net References: <201410071331.s97DV5hB088377@svn.freebsd.org> <20141007160405.35f52792@x23> In-Reply-To: <20141007160405.35f52792@x23> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2014 14:18:46 -0000 On 07.10.2014 18:04, Marko Zec wrote: > On Tue, 7 Oct 2014 13:31:05 +0000 > "Andrey V. Elsukov" wrote: > >> Author: ae >> Date: Tue Oct 7 13:31:04 2014 >> New Revision: 272695 >> URL: https://svnweb.freebsd.org/changeset/base/272695 >> >> Log: >> Our packet filters use mbuf's rcvif pointer to determine incoming >> interface. Change mbuf's rcvif to enc0 and restore it after pfil >> processing. > > Will this work / was this tested with options VIMAGE, where > m_pkthdr.rcvif->if_vnet will no longer match curvnet, except in vnet0? I tested only without VIMAGE. ipfw and pf use if_xname field to compare interfaces. So will this work? -- WBR, Andrey V. Elsukov