Re: [PATCH] hw/net/e1000e: advance desc_offset in case of null descriptor

2020-11-11 Thread Jason Wang
On 2020/11/11 下午9:06, P J P wrote: From: Prasad J Pandit While receiving packets via e1000e_write_packet_to_guest() routine, 'desc_offset' is advanced only when RX descriptor is processed. And RX descriptor is not processed if it has NULL buffer address. This may lead to an infinite loop cond

[PATCH] hw/net/e1000e: advance desc_offset in case of null descriptor

2020-11-11 Thread P J P
From: Prasad J Pandit While receiving packets via e1000e_write_packet_to_guest() routine, 'desc_offset' is advanced only when RX descriptor is processed. And RX descriptor is not processed if it has NULL buffer address. This may lead to an infinite loop condition. Increament 'desc_offset' to proc