Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add note about MINCLSIZE decrease. (sync with netbsd-current)
  • Loading branch information
itojun committed Dec 12, 1999
1 parent b84d77c commit 23592f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions netbsd/sys/sys/mbuf.h
Expand Up @@ -89,6 +89,11 @@
* at least MINCLSIZE of data must be stored.
*/

/*
* NOTE: MINCLSIZE is changed to MHLEN + 1, to avoid allocating chained
* non-external mbufs in the driver. This has no impact on performance
* seen from the packet statistics, and avoid header pullups in network code.
*/
#define MLEN (MSIZE - sizeof(struct m_hdr)) /* normal data len */
#define MHLEN (MLEN - sizeof(struct pkthdr)) /* data len w/pkthdr */

Expand Down

0 comments on commit 23592f7

Please sign in to comment.