svn commit: r254520 - in head/sys: kern sys

Andre Oppermann andre at freebsd.org
Mon Aug 19 12:13:36 UTC 2013


On 19.08.2013 13:23, Davide Italiano wrote:
> On Mon, Aug 19, 2013 at 1:16 PM, Andre Oppermann <andre at freebsd.org> wrote:
>> Modified: head/sys/sys/mbuf.h
>> ==============================================================================
>> --- head/sys/sys/mbuf.h Mon Aug 19 11:08:36 2013        (r254519)
>> +++ head/sys/sys/mbuf.h Mon Aug 19 11:16:53 2013        (r254520)
>> @@ -200,7 +200,7 @@ struct mbuf {
>>                       /* 0x00008000    free */
>>   #define        M_VLANTAG       0x00010000 /* ether_vtag is valid */
>>   #define        M_PROMISC       0x00020000 /* packet was not for us */
>> -#define        M_NOFREE        0x00040000 /* do not free mbuf, embedded in cluster */
>> +                    /* 0x00040000    free */
>
> I think you should just use M_UNUSED or something similar here for
> consistency, like it's happening in td_pflags (sys/sys/proc.h), e.g.:
>
> #define TDP_UNUSED9     0x00000100 /* --available-- */

There's a couple of more changes upcoming that will take care of it.

-- 
Andre



More information about the svn-src-all mailing list