Received: from eggs.gnu.org ([2001:4830:134:3::10]:46573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bktBv-0006Xr-C7 for qemu-devel@nongnu.org; Fri, 16 Sep 2016 09:28:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bktBp-0003oQ-VJ for qemu-devel@nongnu.org; Fri, 16 Sep 2016 09:28:30 -0400 Received: from mx01.kamp.de ([82.141.2.16]:59690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bktBp-0003nO-KE for qemu-devel@nongnu.org; Fri, 16 Sep 2016 09:28:25 -0400 References: <1467280180-9234-1-git-send-email-pl@kamp.de> <20160630133914.GB13793@stefanha-x1.localdomain> From: Peter Lieven Message-ID: Date: Fri, 16 Sep 2016 15:27:54 +0200 MIME-Version: 1.0 In-Reply-To: <20160630133914.GB13793@stefanha-x1.localdomain> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] net: limit allocation in nc_sendv_compat List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org, dhannawatpooja1@gmail.com, jasowang@redhat.com Am 30.06.2016 um 15:39 schrieb Stefan Hajnoczi: > On Thu, Jun 30, 2016 at 11:49:40AM +0200, Peter Lieven wrote: >> we only need to allocate enough memory to hold the packet. This might be >> less than NET_BUFSIZE. Additionally fail early if the packet is larger >> than NET_BUFSIZE. >> >> Signed-off-by: Peter Lieven >> --- >> net/net.c | 8 ++++++-- >> 1 file changed, 6 insertions(+), 2 deletions(-) > Reviewed-by: Stefan Hajnoczi Can somebody pick this up please? Thanks, Peter