Date: Fri, 2 Apr 2010 19:29:11 +0200 From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= <ermal.luci@gmail.com> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: freebsd-net <freebsd-net@freebsd.org> Subject: Re: Is this correct? Message-ID: <s2j9a542da31004021029u531d4955u9fa1a1f892e0e63f@mail.gmail.com> In-Reply-To: <20100402170740.N40281@maildrop.int.zabbadoz.net> References: <9a542da31003190453s1e7598efr8f35f525871f5589@mail.gmail.com> <20100402170740.N40281@maildrop.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 2, 2010 at 7:11 PM, Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> wrote: > 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 ? > I would say >=3D since that is what logic assumes! > /bz > > -- > Bjoern A. Zeeb =A0 =A0 =A0 =A0 It will not break if you know what you are= doing. --=20 Ermal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?s2j9a542da31004021029u531d4955u9fa1a1f892e0e63f>