svn commit: r254527 - in head/sys: net80211 netinet sys

Gleb Smirnoff glebius at FreeBSD.org
Mon Aug 26 09:43:38 UTC 2013


A> Author: andre
A> Date: Mon Aug 19 14:25:11 2013
A> New Revision: 254527
A> URL: http://svnweb.freebsd.org/changeset/base/254527
A> 
A> Log:
A>   Reorder the mbuf defines to make more sense and group related flags
A>   together.
A>   
A>   Add M_FLAG_PRINTF for use with printf(9) %b indentifier.
A>   
A>   Use the generic mbuf flags print names in the net80211 code and adjust
A>   the protocol specific bits for their new positions.
A>   
A>   Change SCTP M_PROTO mapping from 5 to 1 to fit within the 16bit field
A>   they use internally to store some additional information.
A>   
A>   Discussed with:	trociny, glebius

The first part: "reorder the mbuf flag defines" wasn't actually discussed.

Tossing values of M_BCAST, M_MCAST, M_VLANTAG for no value except code
tidyness isn't a safe idea. These are the flags that device drivers use.
After this change binary drivers are still loadable but would be buggy.

We allow ourselves ABI changes in head, but this doesn't mean that we
should do them for no important reason.

-- 
Totus tuus, Glebius.


More information about the svn-src-all mailing list