mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
net: bgmac: Fix infinite loop in bgmac_dma_tx_add()
[ Upstream commite86663c475] Nothing is decrementing the index "i" while we are cleaning up the fragments we could not successful transmit. Fixes:9cde94506e("bgmac: implement scatter/gather support") Reported-by: coverity (CID 1352048) Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0020fa536c
commit
863c8bb8be
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue