diff options
author | Colin Ian King <[email protected]> | 2017-08-18 12:11:50 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-08-18 10:28:06 -0700 |
commit | eac2c68d663effb077210218788952b5a0c1f60e (patch) | |
tree | fcd5bc7f3dd1f73d6f767626de623b55eaf8cd36 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | acc8b31665b4cc17b35c4fa445427f7e2f6dc86b (diff) |
nfp: fix infinite loop on umapping cleanup
The while loop that performs the dma page unmapping never decrements
index counter f and hence loops forever. Fix this with a pre-decrement
on f.
Detected by CoverityScan, CID#1357309 ("Infinite loop")
Fixes: 4c3523623dc0 ("net: add driver for Netronome NFP4000/NFP6000 NIC VFs")
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions