summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2018-02-05 11:15:52 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2018-02-08 22:38:13 +1100
commit225ece3e7dad4cfc44cca38ce7a3a80f255ea8f1 (patch)
tree90c6a304a1698b5e9ee8e644d3c62c7df22a4355 /tools/perf/scripts/python/bin/stackcollapse-report
parentba916b6a0339ed6cc6441ad83c097ab795dbdbc5 (diff)
downloadkernel-225ece3e7dad4cfc44cca38ce7a3a80f255ea8f1.tar.gz
crypto: caam - fix endless loop when DECO acquire fails
In case DECO0 cannot be acquired - i.e. run_descriptor_deco0() fails with -ENODEV, caam_probe() enters an endless loop: run_descriptor_deco0 ret -ENODEV -> instantiate_rng -ENODEV, overwritten by -EAGAIN ret -EAGAIN -> caam_probe -EAGAIN results in endless loop It turns out the error path in instantiate_rng() is incorrect, the checks are done in the wrong order. Cc: <stable@vger.kernel.org> # 3.13+ Fixes: 1005bccd7a4a6 ("crypto: caam - enable instantiation of all RNG4 state handles") Reported-by: Bryan O'Donoghue <pure.logic@nexus-software.ie> Suggested-by: Auer Lukas <lukas.auer@aisec.fraunhofer.de> Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
n>selftests: drv-net: add ability to schedule cleanup with defer()Jakub Kicinski 2024-06-28selftests: net: ksft: avoid continue when handling resultsJakub Kicinski 2024-06-26selftests: drv-net: rss_ctx: add tests for RSS configuration and contextsJakub Kicinski 2024-06-26selftests: drv-net: add helper to wait for HW stats to syncJakub Kicinski 2024-06-26selftests: drv-net: try to check if port is in useJakub Kicinski 2024-05-08net: selftest: add test for netdev netlink queue-get APIDavid Wei 2024-05-08selftests: drv-net: add checksum testsWillem de Bruijn 2024-05-02selftests: net: py: check process exit code in bkg() and background cmd()Jakub Kicinski 2024-04-30selftests: drv-net-hw: add test for memory allocation failures with page poolJakub Kicinski 2024-04-30selftests: net: py: avoid all ports < 10kJakub Kicinski 2024-04-30selftests: net: py: extract tool logicJakub Kicinski 2024-04-23selftests: drv-net: add a TCP ping test case (and useful helpers)Jakub Kicinski 2024-04-23selftests: net: support matching cases by name prefixJakub Kicinski 2024-04-23selftests: drv-net: construct environment for running tests which require an ...Jakub Kicinski 2024-04-23selftests: drv-net: define endpoint structuresJakub Kicinski 2024-04-23selftests: drv-net: test dumping qstats per deviceJakub Kicinski 2024-04-18selftests: net: set the exit code correctly in Python testsJakub Kicinski 2024-04-18selftests: net: fix counting totals when some checks failJakub Kicinski 2024-04-16selftests: drv-net: add stdout to the command failed exceptionJakub Kicinski 2024-04-15selftests: net: exercise page pool reporting via netlinkJakub Kicinski 2024-04-15selftests: net: support use of NetdevSimDev under "with" in pythonJakub Kicinski 2024-04-15selftests: net: print full exception on failureJakub Kicinski 2024-04-15selftests: net: print report check location in python testsJakub Kicinski 2024-04-10selftests: net: reuse common code in bpf_offloadJakub Kicinski 2024-04-08selftests: drivers: add scaffolding for Netlink tests in PythonJakub Kicinski 2024-04-08selftests: net: add scaffolding for Netlink tests in PythonJakub Kicinski