From owner-freebsd-current Wed Nov 27 13:15:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6301337B401; Wed, 27 Nov 2002 13:15:32 -0800 (PST) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE59743EB2; Wed, 27 Nov 2002 13:15:31 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0147.cvx21-bradley.dialup.earthlink.net ([209.179.192.147] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18H9Ws-0004OC-00; Wed, 27 Nov 2002 13:15:30 -0800 Message-ID: <3DE5358F.4CA39D16@mindspring.com> Date: Wed, 27 Nov 2002 13:13:51 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Andrew Gallatin Cc: Robert Watson , Luigi Rizzo , current@freebsd.org Subject: Re: mbuf header bloat ? References: <15840.8629.324788.887872@grasshopper.cs.duke.edu> <15844.60298.44810.750373@grasshopper.cs.duke.edu> <3DE5275E.9D3E9F9B@mindspring.com> <15845.10492.726439.227885@grasshopper.cs.duke.edu> <3DE52F25.61FAB63C@mindspring.com> <15845.13145.445000.166358@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andrew Gallatin wrote: > If you're a vendor of a device which inserts MAC mtags and needs > options MAC, you put this code in your driver: > > if (mbstat.m_mhlen != MHLEN) { > printf("Please rebuild your kernel with 'options MAC'\n"); > goto atach_failed_no_mac; > } > > I've already got code like this in my driver to check that m_mclbytes > and m_mlen is what I expect it to be, since people sometimes change > them. I think you are still not getting it, but it's not worth arguing over. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message