Date: Mon, 29 Aug 2005 19:45:39 +0000 (UTC) From: Andre Oppermann <andre@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: <200508291945.j7TJjet2092739@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
andre 2005-08-29 19:45:39 UTC FreeBSD src repository Modified files: sys/sys mbuf.h sys/kern uipc_mbuf.c Log: Add m_demote(struct mbuf *m, int all) to clean up mbuf (chain) from any tags and packet headers. If "all" is set then the first mbuf in the chain will be cleaned too. This function is used before an mbuf, that arrived as packet with m->flags & M_PKTHDR, is appended to an mbuf chain using m->m_next (not m->m_nextpkt). Reviewed by: glebius Revision Changes Path 1.150 +24 -0 src/sys/kern/uipc_mbuf.c 1.173 +1 -0 src/sys/sys/mbuf.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508291945.j7TJjet2092739>