summaryrefslogtreecommitdiffstats
path: root/lib/stmp_device.c
diff options
context:
space:
mode:
authorFlorian Fainelli2016-07-16 00:42:52 +0200
committerDavid S. Miller2016-07-16 01:03:47 +0200
commite86663c475d384ab5f46cb5637e9b7ad08c5c505 (patch)
tree73991452764e36e6e42e149141ec1680bff58f39 /lib/stmp_device.c
parentMerge branch 'mlxsw-fixes' (diff)
downloadkernel-qcow2-linux-e86663c475d384ab5f46cb5637e9b7ad08c5c505.tar.gz
kernel-qcow2-linux-e86663c475d384ab5f46cb5637e9b7ad08c5c505.tar.xz
kernel-qcow2-linux-e86663c475d384ab5f46cb5637e9b7ad08c5c505.zip
net: bgmac: Fix infinite loop in bgmac_dma_tx_add()
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>
Diffstat (limited to 'lib/stmp_device.c')
0 files changed, 0 insertions, 0 deletions