summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAyush Sawal <ayush.sawal@chelsio.com>2020-03-30 20:48:52 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-02 08:51:04 +0200
commitda8825243bf76ac1cf4bf9bb9be919e8c37e816f (patch)
treee832d40b14f44eb777a8763207fb276a608d31ce /tools/perf/scripts/python/export-to-postgresql.py
parentba8eb38f67f5892423afa9ee7529a44a7130698a (diff)
Crypto: chelsio - Fixes a hang issue during driver registration
commit ad59ddd02de26271b89564962e74d689f1a30b49 upstream. This issue occurs only when multiadapters are present. Hang happens because assign_chcr_device returns u_ctx pointer of adapter which is not yet initialized as for this adapter cxgb_up is not been called yet. The last_dev pointer is used to determine u_ctx pointer and it is initialized two times in chcr_uld_add in chcr_dev_add respectively. The fix here is don't initialize the last_dev pointer during chcr_uld_add. Only assign to value to it when the adapter's initialization is completed i.e in chcr_dev_add. Fixes: fef4912b66d62 ("crypto: chelsio - Handle PCI shutdown event"). Signed-off-by: Ayush Sawal <ayush.sawal@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions