From: Ariel Nahum Date: Sun, 7 Dec 2014 14:09:58 +0000 (+0200) Subject: IB/iser: Fix possible NULL derefernce ib_conn->device in session_create X-Git-Tag: omap-for-v3.19/fixes-rc1~37^2^4~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f562a0b8f0b47c4315e08bccd6a0b2d7f5aae1b;p=pandora-kernel.git IB/iser: Fix possible NULL derefernce ib_conn->device in session_create If rdma_cm error event comes after ep_poll but before conn_bind, we should protect against dereferncing the device (which may have been terminated) in session_create and conn_create (already protected) callbacks. Signed-off-by: Ariel Nahum Signed-off-by: Sagi Grimberg Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed