Date: Tue, 28 Sep 2004 18:40:18 +0000 (UTC) From: John-Mark Gurney <jmg@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c Message-ID: <200409281840.i8SIeIZi003750@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jmg 2004-09-28 18:40:18 UTC
FreeBSD src repository
Modified files:
sys/sys mbuf.h
sys/kern uipc_mbuf.c
Log:
improve the mbuf m_print function.. Only pull length from pkthdr if there
is one, detect mbuf loops and stop, add an extra arg so you can only print
the first x bytes of the data per mbuf (print all if arg is -1), print
flags using %b (bitmask)...
No code in the tree appears to use m_print, and it's just a maner of adding
-1 as an additional arg to m_print to restore original behavior..
MFC after: 4 days
Revision Changes Path
1.136 +20 -5 src/sys/kern/uipc_mbuf.c
1.159 +1 -1 src/sys/sys/mbuf.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409281840.i8SIeIZi003750>
