Re: [Qemu-devel] [PATCH] net: rtl8139: limit processing of ring descriptors

2016-10-24 Thread P J P
Hello Jason, +-- On Mon, 24 Oct 2016, Jason Wang wrote --+ | > RTL8139 ethernet controller in C+ mode supports multiple | > descriptor rings, each with maximum of 64 descriptors. While | > processing transmit descriptor ring in 'rtl8139_cplus_transmit', | > it does not limit the descriptor count

Re: [Qemu-devel] [PATCH] net: rtl8139: limit processing of ring descriptors

2016-10-23 Thread Jason Wang
On 2016年10月21日 20:09, P J P wrote: From: Prasad J Pandit RTL8139 ethernet controller in C+ mode supports multiple descriptor rings, each with maximum of 64 descriptors. While processing transmit descriptor ring in 'rtl8139_cplus_transmit', it does not limit the descriptor count and runs forev

[Qemu-devel] [PATCH] net: rtl8139: limit processing of ring descriptors

2016-10-21 Thread P J P
From: Prasad J Pandit RTL8139 ethernet controller in C+ mode supports multiple descriptor rings, each with maximum of 64 descriptors. While processing transmit descriptor ring in 'rtl8139_cplus_transmit', it does not limit the descriptor count and runs forever. Add check to avoid it. Reported-by