On 12/4/20 11:03 AM, P J P wrote:
> +-- On Fri, 27 Nov 2020, Philippe Mathieu-Daudé wrote --+
> | Do not allow qemu_send_packet*() and qemu_net_queue_send()
> | functions to accept packets bigger then NET_BUFSIZE.
> |
> | We have to put a limit somewhere. NET_BUFSIZE is defined as:
> | /*
+-- On Fri, 27 Nov 2020, Philippe Mathieu-Daudé wrote --+
| Do not allow qemu_send_packet*() and qemu_net_queue_send()
| functions to accept packets bigger then NET_BUFSIZE.
|
| We have to put a limit somewhere. NET_BUFSIZE is defined as:
| /* Maximum GSO packet size (64k) plus plenty of room
On 11/30/20 10:20 AM, Mauro Matteo Cascella wrote:
> Hello,
>
> On Mon, Nov 30, 2020 at 3:36 AM Jason Wang wrote:
>>
>>
>> On 2020/11/27 下午11:45, Philippe Mathieu-Daudé wrote:
>>> Do not allow qemu_send_packet*() and qemu_net_queue_send()
>>> functions to accept packets bigger then NET_BUFSIZE.
Hello,
On Mon, Nov 30, 2020 at 3:36 AM Jason Wang wrote:
>
>
> On 2020/11/27 下午11:45, Philippe Mathieu-Daudé wrote:
> > Do not allow qemu_send_packet*() and qemu_net_queue_send()
> > functions to accept packets bigger then NET_BUFSIZE.
> >
> > Signed-off-by: Philippe Mathieu-Daudé
> > ---
> >
On 2020/11/27 下午11:45, Philippe Mathieu-Daudé wrote:
Do not allow qemu_send_packet*() and qemu_net_queue_send()
functions to accept packets bigger then NET_BUFSIZE.
Signed-off-by: Philippe Mathieu-Daudé
---
We have to put a limit somewhere. NET_BUFSIZE is defined as:
/* Maximum GSO packet
Do not allow qemu_send_packet*() and qemu_net_queue_send()
functions to accept packets bigger then NET_BUFSIZE.
Signed-off-by: Philippe Mathieu-Daudé
---
We have to put a limit somewhere. NET_BUFSIZE is defined as:
/* Maximum GSO packet size (64k) plus plenty of room for
* the ethernet and