From owner-cvs-src@FreeBSD.ORG Sun May 23 15:32:46 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0947216A4CE; Sun, 23 May 2004 15:32:46 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFA7443D3F; Sun, 23 May 2004 15:32:45 -0700 (PDT) (envelope-from yar@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 i4NMWFPF002352; Sun, 23 May 2004 15:32:16 -0700 (PDT) (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i4NMWFvW002351; Sun, 23 May 2004 15:32:15 -0700 (PDT) (envelope-from yar) Message-Id: <200405232232.i4NMWFvW002351@repoman.freebsd.org> From: Yar Tikhiy Date: Sun, 23 May 2004 15:32:15 -0700 (PDT) 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_vlan.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 22:32:46 -0000 yar 2004/05/23 15:32:15 PDT FreeBSD src repository Modified files: sys/net if_vlan.c Log: Consult parent's if_capenable for active VLAN-related capabilities. This change is possible since all the relevant drivers have been fixed to set if_capenable properly. The field if_capabilities tracks supported capabilities, which may be disabled administratively. Inheriting checksum offload support from the parent interface isn't that easy because the checksumming capabilities of the parent may be toggled on the fly. Disable the code for now. Revision Changes Path 1.62 +8 -1 src/sys/net/if_vlan.c