diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-07-15 15:42:52 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-16 09:30:47 +0200 |
commit | 863c8bb8be39ad11f0d9d66a431b3d9ca5c11dd7 (patch) | |
tree | 0e6cb330cd83c7051c5643ac4a32870e09a0af3a /net | |
parent | 0020fa536cc610216f80b798b9a1c9b13c3a37fb (diff) |
net: bgmac: Fix infinite loop in bgmac_dma_tx_add()
[ Upstream commit e86663c475d384ab5f46cb5637e9b7ad08c5c505 ]
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 <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions