From: Maurizio Lombardi Date: Fri, 4 Mar 2016 09:41:49 +0000 (+0100) Subject: be2iscsi: set the boot_kset pointer to NULL in case of failure X-Git-Tag: v3.2.80~90 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=701566be7af6f64018658fb1db3634182106c0f4;hp=701566be7af6f64018658fb1db3634182106c0f4 be2iscsi: set the boot_kset pointer to NULL in case of failure commit 84bd64993f916bcf86270c67686ecf4cea7b8933 upstream. In beiscsi_setup_boot_info(), the boot_kset pointer should be set to NULL in case of failure otherwise an invalid pointer dereference may occur later. Signed-off-by: Maurizio Lombardi Reviewed-by: Johannes Thumshirn Reviewed-by: Jitendra Bhivare Signed-off-by: Martin K. Petersen Signed-off-by: Ben Hutchings ---