From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ab5Th-0006Wc-KZ for qemu-devel@nongnu.org; Wed, 02 Mar 2016 07:02:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ab5Tb-0002f4-V0 for qemu-devel@nongnu.org; Wed, 02 Mar 2016 07:02:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ab5Tb-0002eB-QZ for qemu-devel@nongnu.org; Wed, 02 Mar 2016 07:01:59 -0500 Date: Wed, 2 Mar 2016 17:31:54 +0530 (IST) From: P J P In-Reply-To: <56D65C36.6030702@redhat.com> Message-ID: References: <1456243707-29345-1-git-send-email-ppandit@redhat.com> <1456243707-29345-2-git-send-email-ppandit@redhat.com> <56CFEC59.8040503@redhat.com> <56D65C36.6030702@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH v2 1/2] net: check packet payload length List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Wang Cc: Markus Armbruster , Qemu Developers , Liu Ling Hello Jason, +-- On Wed, 2 Mar 2016, Jason Wang wrote --+ | How about L4, since we will calculate L4 checksum I believe? And it | looks like the following check: | | plen + hlen >= length | only count L3 header plus payload? Yes, I've sent a revised patch v3. Thank you. -- Prasad J Pandit / Red Hat Product Security Team 47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F