Re: [Qemu-devel] [PATCH] net: vmxnet: check fragment length during fragmentation

2016-08-08 Thread Jason Wang
On 2016年08月04日 15:35, P J P wrote: Hello Jason, +-- On Thu, 4 Aug 2016, Jason Wang wrote --+ | The patch doesn't apply cleanly on HEAD, we now move this logic to | hw/net/net_tx_pkt.c. Please resend on top of HEAD and cc Dmitry Fleytman | . I see, that explains why it did not show-up in

Re: [Qemu-devel] [PATCH] net: vmxnet: check fragment length during fragmentation

2016-08-04 Thread P J P
Hello Jason, +-- On Thu, 4 Aug 2016, Jason Wang wrote --+ | The patch doesn't apply cleanly on HEAD, we now move this logic to | hw/net/net_tx_pkt.c. Please resend on top of HEAD and cc Dmitry Fleytman | . I see, that explains why it did not show-up in search. I've sent a revised patch v2.

Re: [Qemu-devel] [PATCH] net: vmxnet: check fragment length during fragmentation

2016-08-03 Thread Jason Wang
On 2016年08月02日 19:37, P J P wrote: From: Prasad J Pandit VMware VMXNET* NIC emulator supports packet fragmentation. While fragmenting a packet, it checks for more fragments based on packet length and current fragment length. It is susceptible to an infinite loop, if the current fragment lengt

[Qemu-devel] [PATCH] net: vmxnet: check fragment length during fragmentation

2016-08-02 Thread P J P
From: Prasad J Pandit VMware VMXNET* NIC emulator supports packet fragmentation. While fragmenting a packet, it checks for more fragments based on packet length and current fragment length. It is susceptible to an infinite loop, if the current fragment length is zero. Add check to avoid it. Repo