From owner-cvs-all@FreeBSD.ORG Fri Feb 18 22:31:19 2005 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 78CC116A4CE; Fri, 18 Feb 2005 22:31:19 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6047143D49; Fri, 18 Feb 2005 22:31:19 +0000 (GMT) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1IMVJJN052638; Fri, 18 Feb 2005 22:31:19 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1IMVJvt052637; Fri, 18 Feb 2005 22:31:19 GMT (envelope-from ru) Message-Id: <200502182231.j1IMVJvt052637@repoman.freebsd.org> From: Ruslan Ermilov Date: Fri, 18 Feb 2005 22:31:19 +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/sys mbuf.h src/sys/net if_ethersubr.c if_vlan.c if_vlan_var.h 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: Fri, 18 Feb 2005 22:31:19 -0000 ru 2005-02-18 22:31:19 UTC FreeBSD src repository Modified files: sys/sys mbuf.h sys/net if_ethersubr.c if_vlan.c if_vlan_var.h Log: Allocate the M_VLANTAG m_pkthdr flag, and use it to indicate that a packet has VLAN mbuf tag attached. This is faster to check than m_tag_locate(), and allows us to use the tags in non-vlan(4) VLAN producers. The first argument to VLAN_OUTPUT_TAG() is now unused but retained for backward compatibility. While here, embellish a fix in rev. 1.174 of if_ethersubr.c -- it now checks for packets with VLAN (mbuf) tags, and it should now be possible to bridge(4) on vlan(4)'s whose parent interfaces support VLAN decapsulation in hardware. Reviewed by: sam Revision Changes Path 1.185 +4 -4 src/sys/net/if_ethersubr.c 1.77 +1 -0 src/sys/net/if_vlan.c 1.21 +4 -3 src/sys/net/if_vlan_var.h 1.166 +3 -1 src/sys/sys/mbuf.h