summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-05-14 11:11:07 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-05-16 14:11:46 -0600
commita5c57d327272bdf3a8b19686eaca2ec683449e67 (patch)
tree1d64b3c5249c514fbb0596ea47660cd255a730c2 /tools/perf/scripts/python/stackcollapse.py
parentf43c00c04bbf01be0822ef9f0281cc69b56c4e40 (diff)
IB/cm: Avoid AV ah_attr overwriting during LAP message handling
AH attribute of the cm_id can be overwritten if LAP message is received on CM request which is in progress. This bug got introduced to avoid sleeping when spin lock is held as part of commit in Fixes tag. Therefore validate the cm_id state first and continue to perform AV ah_attr initialization. Given that Aleternative path related messages are not supported for RoCE, init_av_from_response/path is such messages are ok to be called from blocking context. Fixes: 33f93e1ebcf5 ("IB/cm: Fix sleeping while spin lock is held") Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions