From: Fubo Chen Date: Sun, 13 Feb 2011 23:13:42 +0000 (-0800) Subject: target: Check LUN numbers in transport_get_lun_for_[cmd,tmr] X-Git-Tag: v3.1-rc1~305^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d814495599354924eb4de84727680564d685ce9e;p=pandora-kernel.git target: Check LUN numbers in transport_get_lun_for_[cmd,tmr] This patch checks the passed 'unpacked_lun' against TRANSPORT_MAX_LUNS_PER_TPG before reading from struct se_node_acl->device_list[]. Signed-off-by: Fubo Chen Signed-off-by: Nicholas A. Bellinger --- Reading git-diff-tree failed