aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorLiang Zhen <[email protected]>2016-03-02 17:01:45 -0500
committerGreg Kroah-Hartman <[email protected]>2016-03-02 15:23:49 -0800
commit5b16d52be00e78622d0783f5c57474137a60e5a3 (patch)
treed5866ac475c7b41e9d736929a8b6dfdaf8fd804e /tools/perf/scripts/python/call-graph-from-postgresql.py
parente816f2352862db069c147d739b934a9544584ac9 (diff)
staging: lustre: recv could access freed message
When lnet_parse_put calls lnet_ptl_match_md, this function can attach current message on the delayed list if there is no match. It means this message can be taken over and freed by another thread who is posting new MD, then it is not safe for caller of lnet_parse_put to check this message again. This patch fixes this issue by adding a local variable "ready_delay" to store corresponding status of lnet_msg, so lnet doesn't need to check the message again if lnet_ptl_match_md returned MATCH_NONE for it. Signed-off-by: Liang Zhen <[email protected]> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7324 Reviewed-on: http://review.whamcloud.com/17065 Reviewed-by: Doug Oucharek <[email protected]> Reviewed-by: Faccini Bruno <[email protected]> Reviewed-by: Oleg Drokin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions