Re: [PATCH net] net: bgmac: Fix infinite loop in bgmac_dma_tx_add()

2016-07-15 Thread David Miller
From: Florian Fainelli Date: Fri, 15 Jul 2016 15:42:52 -0700 > Nothing is decrementing the index "i" while we are cleaning up the > fragments we could not successful transmit. > > Fixes: 9cde94506eacf ("bgmac: implement scatter/gather support") > Reported-by: coverity (CID 1352048) > Signed-off-

[PATCH net] net: bgmac: Fix infinite loop in bgmac_dma_tx_add()

2016-07-15 Thread Florian Fainelli
Nothing is decrementing the index "i" while we are cleaning up the fragments we could not successful transmit. Fixes: 9cde94506eacf ("bgmac: implement scatter/gather support") Reported-by: coverity (CID 1352048) Signed-off-by: Florian Fainelli --- drivers/net/ethernet/broadcom/bgmac.c | 2 +- 1