Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2002 13:13:51 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        Robert Watson <rwatson@freebsd.org>, Luigi Rizzo <rizzo@icir.org>, current@freebsd.org
Subject:   Re: mbuf header bloat ?
Message-ID:  <3DE5358F.4CA39D16@mindspring.com>
References:  <15840.8629.324788.887872@grasshopper.cs.duke.edu> <Pine.NEB.3.96L.1021127095837.43889C-100000@fledge.watson.org> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DE5358F.4CA39D16>