Is this correct?

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Fri Apr 2 17:15:08 UTC 2010


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.


More information about the freebsd-net mailing list