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: Peter Lieven
Subject: Re: [Qemu-devel] [PATCH] net: limit allocation in nc_sendv_compat
Date: Fri, 16 Sep 2016 15:27:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

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

Can somebody pick this up please?

Thanks,
Peter




reply via email to

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