linux-stable/drivers/firmware
Konrad Rzeszutek Wilk a12415ff58 ibft: Kernel oops when rmmoding iscsi_ibft with no iBFT present.
We failed to check to see if actually allocated structures
to contain the iBFT structure and went ahead to dereference it.

This patch fixes the OOPS.

Reported-by:  "Jayamohan Kalickal" <jayamohank@serverengines.com>  
Tested-by: "Jayamohan Kalickal" <jayamohank@serverengines.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
Signed-off-by: Peter Jones <pjones@redhat.com>
2010-08-11 16:35:40 -04:00
..
dcdbas.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
dcdbas.h dcdbas: export functionality for use in other drivers 2009-01-08 08:31:12 -08:00
dell_rbu.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
dmi-id.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
dmi_scan.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
edd.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
efivars.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
iscsi_boot_sysfs.c ibft: separate ibft parsing from sysfs interface 2010-05-11 13:02:38 -04:00
iscsi_ibft.c ibft: Kernel oops when rmmoding iscsi_ibft with no iBFT present. 2010-08-11 16:35:40 -04:00
iscsi_ibft_find.c ibft: Use IBFT_SIGN instead of open-coding the search string. 2010-05-12 10:33:09 -04:00
Kconfig ibft: convert iscsi_ibft module to iscsi boot lib 2010-05-11 13:02:38 -04:00
Makefile ibft: separate ibft parsing from sysfs interface 2010-05-11 13:02:38 -04:00
memmap.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pcdp.c [IA64] Convert ia64 to use int-ll64.h 2009-06-17 09:33:49 -07:00
pcdp.h