From owner-freebsd-net@FreeBSD.ORG Fri Apr 2 17:15:08 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FA60106564A for ; Fri, 2 Apr 2010 17:15:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id B58C38FC08 for ; Fri, 2 Apr 2010 17:15:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 5813141C6B4; Fri, 2 Apr 2010 19:15:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id jT4lTnZ1zSJm; Fri, 2 Apr 2010 19:15:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id CA24A41C6A7; Fri, 2 Apr 2010 19:15:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 5AA874448EC; Fri, 2 Apr 2010 17:11:15 +0000 (UTC) Date: Fri, 2 Apr 2010 17:11:15 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: =?ISO-8859-1?Q?Ermal_Lu=E7i?= In-Reply-To: <9a542da31003190453s1e7598efr8f35f525871f5589@mail.gmail.com> Message-ID: <20100402170740.N40281@maildrop.int.zabbadoz.net> References: <9a542da31003190453s1e7598efr8f35f525871f5589@mail.gmail.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1543496351-1270228097=:40281" Content-ID: <20100402170830.C40281@maildrop.int.zabbadoz.net> Cc: freebsd-net Subject: Re: Is this correct? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2010 17:15:08 -0000 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-1543496351-1270228097=:40281 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1; FORMAT=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: <20100402170830.X40281@maildrop.int.zabbadoz.net> On Fri, 19 Mar 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 ? /bz --=20 Bjoern A. Zeeb It will not break if you know what you are doing. --0-1543496351-1270228097=:40281--