From owner-cvs-src@FreeBSD.ORG Thu Feb 22 14:50:32 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A50116A406; Thu, 22 Feb 2007 14:50:32 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id EF46613C4B5; Thu, 22 Feb 2007 14:50:31 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l1MEoVKU007218; Thu, 22 Feb 2007 14:50:31 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1MEoV0O007216; Thu, 22 Feb 2007 14:50:31 GMT (envelope-from csjp) Message-Id: <200702221450.l1MEoV0O007216@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Thu, 22 Feb 2007 14:50:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/net if_ethersubr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 22 Feb 2007 14:50:32 -0000 csjp 2007-02-22 14:50:31 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: Use ETHER_BPF_MTAP() instead of BPF_MTAP() here. It's possible incoming packets have had their 802.1Q tags processed by the hardware, resulting in them being stripped from the packets, and placed on the mbuf. This fixes the processing of 802.1Q tags when hardware offload of 802.1Q tags is enabled. Revision Changes Path 1.223 +3 -2 src/sys/net/if_ethersubr.c