From: Dan Carpenter Date: Sat, 29 Jan 2011 00:03:31 +0000 (-0800) Subject: [SCSI] libfc:prevent dereferencing ERR_PTR in fc_tm_done() X-Git-Tag: v2.6.39-rc1~440^2~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4a9a98289606392f2b1b24b4ca4e29154ec4d15;p=pandora-kernel.git [SCSI] libfc:prevent dereferencing ERR_PTR in fc_tm_done() If we goto out, then it tries to call kfree_skb() on an ERR_PTR which will oops. Just return directly. Signed-off-by: Dan Carpenter Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed