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: N"Jayamohan Kalickal" <jayamohank@serverengines.com> Signed-off-by: NKonrad Rzeszutek Wilk <konrad@kernel.org> Signed-off-by: NPeter Jones <pjones@redhat.com>
Showing
想要评论请 注册 或 登录