Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!news-peer.gsl.net!news.gsl.net!howland.erols.net!newsfeed.internetmci.com!news.itjit.ad.jp!news.ipro.ad.jp!netlaputa.or.jp!spinnews!spin-hsd0-tky!inet-tsb!tis2!icsl!cilab.rdc.toshiba!jinmei From: jinmei@isl.rdc.toshiba.co.jp (JINMEI Tatuya) Newsgroups: comp.bugs.4bsd Subject: Re: un-freed mbuf in ip_output Date: 07 Oct 1996 18:03:52 +0900 Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. Lines: 16 Sender: jinmei@sunsword.isl.rdc.toshiba.co.jp Message-ID: <53ah45$1o6@monaco.csl.rdc.toshiba.co.jp> References: <52srh5$hip@monaco.csl.rdc.toshiba.co.jp> <Dyq3DE.59@world.std.com> <531ovb$dnb@fido.asd.sgi.com> NNTP-Posting-Host: sunsword.isl.rdc.toshiba.co.jp Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII In-reply-to: bitbug@seal.engr.sgi.com's message of 4 Oct 1996 01:23:55 GMT >>>>> On 4 Oct 1996 01:23:55 GMT, >>>>> bitbug@seal.engr.sgi.com (James Buster) said: >> I believe m_freem() frees the whole mbuf list -- that is, the whole >> packet -- not just the first mbuf. Go read m_freem(). > m_freem() does in fact free the whole mbuf chain. This doesn't help you, as > extra mbuf in question is *prepended*, not appended, to the mbuf chain. Thank you for supplying my poor explanation. As James said, the point is that "m0" is not the *head* of the outgoing packet. JINMEI, Tatuya Comm. and Info. Systems Research Labs. Toshiba R&D Center jinmei@isl.rdc.toshiba.co.jp