Is this correct?

Ermal Luçi ermal.luci at gmail.com
Fri Apr 2 17:29:32 UTC 2010


On Fri, Apr 2, 2010 at 7:11 PM, Bjoern A. Zeeb
<bzeeb-lists at lists.zabbadoz.net> wrote:
> On Fri, 19 Mar 2010, Ermal Luçi 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 >= ?
>
I would say >= since that is what logic assumes!


> /bz
>
> --
> Bjoern A. Zeeb         It will not break if you know what you are doing.



-- 
Ermal


More information about the freebsd-net mailing list