Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 (Tek) 9/26/83; site hammer.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!tektronix!orca!hammer!steveh From: steveh@hammer.UUCP (Stephen Hemminger) Newsgroups: net.unix-wizards Subject: Re: recvfrom() on raw sockets sometimes gives bad source address Message-ID: <1008@hammer.UUCP> Date: Fri, 16-Nov-84 11:53:25 EST Article-I.D.: hammer.1008 Posted: Fri Nov 16 11:53:25 1984 Date-Received: Sun, 18-Nov-84 03:20:35 EST References: Reply-To: steveh@hammer.UUCP (Stephen Hemminger) Distribution: net Organization: Tektronix, Wilsonville OR Lines: 5 Keywords: Network, 4.2Bsd The bug fix you suggested is close, but incorrect. The sbappendaddr routine free's its input chain if it is sucessful (returns 1) If it is unsucessful, the data chain is not freed. Therefore the call to m_free is not needed, and may cause panic freeing free mbuf.