aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorOr Gerlitz <[email protected]>2012-04-29 14:04:21 +0000
committerRoland Dreier <[email protected]>2012-05-19 00:05:31 +0000
commit7d9c0de4ab4ec00b8349d1af0b736a0d473671c2 (patch)
treeea98903ee548b01debd791d2294a3d9bd4df266a /tools/perf/util/trace-event-scripting.c
parentLinux 3.4-rc6 (diff)
downloadkernel-7d9c0de4ab4ec00b8349d1af0b736a0d473671c2.tar.gz
kernel-7d9c0de4ab4ec00b8349d1af0b736a0d473671c2.zip
IB/iser: Fix error flow in iser ep connection establishment
The current error flow code was releasing the IB connection object and calling iscsi_destroy_endpoint() directly without going through the reference counting mechanism introduced in commit 39ff05d ("IB/iser: Enhance disconnection logic for multi-pathing"). This resulted in a double free of the iscsi endpoint object, which causes a kernel NULL pointer dereference. Fix that by plugging into the IB conn reference counting correctly. Signed-off-by: Or Gerlitz <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions