cvs commit: src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c

Andre Oppermann andre at FreeBSD.org
Mon Aug 29 19:45:40 GMT 2005


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


More information about the cvs-all mailing list