From owner-cvs-all@FreeBSD.ORG Thu Jun 24 12:33:26 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D088216A4CE; Thu, 24 Jun 2004 12:33:26 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9E0943D1F; Thu, 24 Jun 2004 12:33:26 +0000 (GMT) (envelope-from joerg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5OCVii9070934; Thu, 24 Jun 2004 12:31:44 GMT (envelope-from joerg@repoman.freebsd.org) Received: (from joerg@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5OCViDQ070928; Thu, 24 Jun 2004 12:31:44 GMT (envelope-from joerg) Message-Id: <200406241231.i5OCViDQ070928@repoman.freebsd.org> From: Joerg Wunsch Date: Thu, 24 Jun 2004 12:31:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net if_ethersubr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 12:33:27 -0000 joerg 2004-06-24 12:31:44 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: When considering an ethernet frame that is not destined for us, do not only allow this to be further processed when bridging is active on that interface, but also if the current packet has a VLAN tag and VLANs are active on our interface. This gives the VLAN layers a chance to also consider the packet (and perhaps drop it instead of the main dispatcher). This fixes a situation where bridging was only active on VLAN interfaces but ether_demux() called on behalf of the main interface had already thrown the packet away. MFC after: 4 weeks Revision Changes Path 1.174 +9 -3 src/sys/net/if_ethersubr.c