aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorFeras Daoud <[email protected]>2016-12-28 14:47:27 +0200
committerDoug Ledford <[email protected]>2017-01-12 14:01:05 -0500
commitc586071d1dc8227a7182179b8e50ee92cc43f6d2 (patch)
tree9ed11c643260d8e02c8544f5e520d107235db111 /tools/perf/util/trace-event-scripting.c
parent13ee429a0271b997f57b22ee67d40fc601f0b220 (diff)
IB/ipoib: Replace list_del of the neigh->list with list_del_init
In order to resolve a situation where a few process delete the same list element in sequence and cause panic, list_del is replaced with list_del_init. In this case if the first process that calls list_del releases the lock before acquiring it again, other processes who can acquire the lock will call list_del_init. Fixes: b63b70d87741 ("IPoIB: Use a private hash table for path lookup") Signed-off-by: Feras Daoud <[email protected]> Signed-off-by: Erez Shitrit <[email protected]> Reviewed-by: Alex Vesker <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Reviewed-by: Yuval Shaia <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions