Re: [Qemu-devel] [PATCH for v2.6.0] net: imx: check buffer descriptor length

2016-09-21 Thread P J P
+-- On Wed, 21 Sep 2016, Paolo Bonzini wrote --+ | > diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c | > index e60e338..31870b0 100644 | > --- a/hw/net/imx_fec.c | > +++ b/hw/net/imx_fec.c | > @@ -276,7 +276,7 @@ static void imx_fec_do_tx(IMXFECState *s) | > imx_fec_read_bd(&bd, addr); |

Re: [Qemu-devel] [PATCH for v2.6.0] net: imx: check buffer descriptor length

2016-09-21 Thread Paolo Bonzini
On 21/09/2016 15:45, P J P wrote: > From: Prasad J Pandit > > i.MX Fast Ethernet Controller uses buffer descriptors to manage > data flow to/fro receive & transmit queues. While transmitting > packets, it could continue to read buffer descriptors if a buffer > descriptor has length of zero. Add