qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] net: limit allocation in nc_sendv_compat


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] net: limit allocation in nc_sendv_compat
Date: Thu, 30 Jun 2016 14:39:14 +0100
User-agent: Mutt/1.6.1 (2016-04-27)

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 <address@hidden>
> ---
>  net/net.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]