aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorUrsula Braun <[email protected]>2019-04-11 11:17:34 +0200
committerDavid S. Miller <[email protected]>2019-04-11 11:04:08 -0700
commitf61bca58f6c36e666c2b807697f25e5e98708162 (patch)
treef02f6529ea09b2bb02f173e11e5c8c53abe69ab9 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent8ef659f1a840c953a59442ff1400ec73baf3b601 (diff)
net/smc: move unhash before release of clcsock
Commit <26d92e951fe0> ("net/smc: move unhash as early as possible in smc_release()") fixes one occurrence in the smc code, but the same pattern exists in other places. This patch covers the remaining occurrences and makes sure, the unhash operation is done before the smc->clcsock is released. This avoids a potential use-after-free in smc_diag_dump(). Reviewed-by: Karsten Graul <[email protected]> Signed-off-by: Ursula Braun <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions