Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

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 >= ?

/bz

-- 
Bjoern A. Zeeb         It will not break if you know what you are doing.
help

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