Date: Fri, 2 Apr 2010 17:11:15 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: =?ISO-8859-1?Q?Ermal_Lu=E7i?= <ermal.luci@gmail.com> Cc: freebsd-net <freebsd-net@freebsd.org> Subject: Re: Is this correct? Message-ID: <20100402170740.N40281@maildrop.int.zabbadoz.net> In-Reply-To: <9a542da31003190453s1e7598efr8f35f525871f5589@mail.gmail.com> References: <9a542da31003190453s1e7598efr8f35f525871f5589@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1543496351-1270228097=:40281 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1; FORMAT=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: <20100402170830.X40281@maildrop.int.zabbadoz.net> On Fri, 19 Mar 2010, Ermal Lu=E7i wrote: Hi, > Shouldn't this check be > if (m->m_len > sizeof (struct ip)) { > instead of > if (m->m_len < sizeof (struct ip)) { Should it be > or >=3D ? /bz --=20 Bjoern A. Zeeb It will not break if you know what you are doing. --0-1543496351-1270228097=:40281--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100402170740.N40281>