From: Or Gerlitz Date: Sun, 29 Apr 2012 14:04:21 +0000 (+0300) Subject: IB/iser: Fix error flow in iser ep connection establishment X-Git-Tag: v3.5-rc1~171^2^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d9c0de4ab4ec00b8349d1af0b736a0d473671c2;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed