Re: [PATCH 6/6] tx_pkt: switch to use qemu_receive_packet_iov() for loopback

2021-02-25 Thread Philippe Mathieu-Daudé
On 2/24/21 6:54 AM, Jason Wang wrote: > This patch switches to use qemu_receive_receive_iov() which can detect > reentrancy and return early. > > Signed-off-by: Jason Wang > --- > hw/net/net_tx_pkt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé

[PATCH 6/6] tx_pkt: switch to use qemu_receive_packet_iov() for loopback

2021-02-23 Thread Jason Wang
This patch switches to use qemu_receive_receive_iov() which can detect reentrancy and return early. Signed-off-by: Jason Wang --- hw/net/net_tx_pkt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/net/net_tx_pkt.c b/hw/net/net_tx_pkt.c index da262edc3e..1f9aa59eca 100644