From owner-cvs-all@FreeBSD.ORG Wed Dec 24 22:04:41 2003 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 2F3B616A4CE; Wed, 24 Dec 2003 22:04:41 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 690CB43D31; Wed, 24 Dec 2003 22:04:40 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBP64e0B086645; Wed, 24 Dec 2003 22:04:40 -0800 (PST) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBP64ego086644; Wed, 24 Dec 2003 22:04:40 -0800 (PST) (envelope-from wpaul) Message-Id: <200312250604.hBP64ego086644@repoman.freebsd.org> From: Bill Paul Date: Wed, 24 Dec 2003 22:04:40 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/ndis kern_ndis.c ndis_var.h src/sys/dev/if_ndis if_ndis.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, 25 Dec 2003 06:04:41 -0000 wpaul 2003/12/24 22:04:40 PST FreeBSD src repository Modified files: sys/compat/ndis kern_ndis.c ndis_var.h sys/dev/if_ndis if_ndis.c Log: Avoid using any of the ndis_packet/ndis_packet_private fields for mbuf<->packet housekeeping. Instead, add a couple of extra fields to the end of ndis_packet. These should be invisible to the Windows driver module. This also lets me get rid of a little bit of evil from ndis_ptom() (frobbing of the ext_buf field instead of relying on the MEXTADD() macro). Revision Changes Path 1.11 +12 -13 src/sys/compat/ndis/kern_ndis.c 1.6 +7 -1 src/sys/compat/ndis/ndis_var.h 1.12 +5 -9 src/sys/dev/if_ndis/if_ndis.c