Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 2010 17:40:58 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
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:  <20100402173951.K40281@maildrop.int.zabbadoz.net>
In-Reply-To: <s2j9a542da31004021029u531d4955u9fa1a1f892e0e63f@mail.gmail.com>
References:  <9a542da31003190453s1e7598efr8f35f525871f5589@mail.gmail.com>  <20100402170740.N40281@maildrop.int.zabbadoz.net> <s2j9a542da31004021029u531d4955u9fa1a1f892e0e63f@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-975403252-1270230058=:40281
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Fri, 2 Apr 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!

Yeah. Commit that.

/bz

--=20
Bjoern A. Zeeb         It will not break if you know what you are doing.
--0-975403252-1270230058=:40281--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100402173951.K40281>