diff options
| author | Ioana Radulescu <[email protected]> | 2017-10-11 08:29:43 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-10-18 16:44:00 +0200 |
| commit | 87eb55e418b7fc80feb21a87aac56c6efe0678e4 (patch) | |
| tree | d9c8785588602dfe38d2d989a05bd0795a77b087 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | ce10d7b4e8e3574b9616e54a09d64521b9aeb8b6 (diff) | |
staging: fsl-dpaa2/eth: Fix potential endless loop
We incorrectly assumed that dpaa2_io_release() can only
return -EBUSY as an error code, when in fact it can also
fail in case some of its arguments don't have valid values.
Make sure we only retry the operation while the portal is
busy and abort for all other error cases, otherwise we risk
entering an endless loop.
Signed-off-by: Ioana Radulescu <[email protected]>
Signed-off-by: Bogdan Purcareata <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions