Date: Tue, 4 Jul 1995 01:29:13 +1000 (EST) From: michael butler <imb@scgt.oz.au> To: current@freebsd.org Subject: Re: spontaneous reboots ? Message-ID: <199507031529.BAA02503@asstdc.scgt.oz.au> In-Reply-To: <199507031201.WAA18182@asstdc.scgt.oz.au> from "michael butler" at Jul 3, 95 10:01:36 pm
next in thread | previous in thread | raw e-mail | index | archive | help
I wrote:
> It's in the ipfw code ..
In ip_fw.c at about line 300:
> bad_packet:
> if (f) {
> /*
> * Do not ICMP reply to icmp
> * packets....:)
> */
> if (f_prt==IP_FW_F_ICMP)
> goto return_0;
*** NOTE "m" is still uninitialised here ***
> /*
> * Reply to packets rejected
> * by entry with this flag
> * set only.
> */
> if (!(f->fw_flg&IP_FW_F_ICMPRPL))
> goto return_0;
*** and here ***
> m = dtom(ip);
:
:
> return_0:
> m_freem(m);
> return 0;
> good_packet:
> return 1;
> }
.. but we try m_freem(m) anyway ?
michael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507031529.BAA02503>
