Commit a12415ff authored by Konrad Rzeszutek Wilk's avatar Konrad Rzeszutek Wilk

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" <>  
Tested-by: default avatar"Jayamohan Kalickal" <>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <>
Signed-off-by: default avatarPeter Jones <>
parent 5abd9ccc
......@@ -727,8 +727,10 @@ static void ibft_unregister(void)
static void ibft_cleanup(void)
if (boot_kset) {
static void __exit ibft_exit(void)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment