Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2010 12:53:58 +0100
From:      =?ISO-8859-1?Q?Ermal_Lu=E7i?= <ermal.luci@gmail.com>
To:        freebsd-net <freebsd-net@freebsd.org>
Cc:        "Bjoern A. Zeeb" <bz@freebsd.org>
Subject:   Is this correct?
Message-ID:  <9a542da31003190453s1e7598efr8f35f525871f5589@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Shouldn't this check be
 if (m->m_len > sizeof (struct ip)) {
instead of
 if (m->m_len < sizeof (struct ip)) {

in
http://fxr.watson.org/fxr/source/netipsec/ipsec.c?im=excerpts#L595

Regards,
-- 
Ermal



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