Re: [PATCH 1/1] libsrp: Fix oops on ibmvscsis module remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 Mar 2011 15:16:35 -0500
Brian King <brking@xxxxxxxxxxxxxxxxxx> wrote:

> 
> While testing the ibmvscsis driver, an oops was observed on module
> remove. This occurred due to some confusion regarding what layer
> owns the drvdata in the struct device for an ibmvscsis device.
> libsrp was overriding what ibmvscsis had already setup, so on
> module remove we go off a bad pointer. Since libsrp appears
> only to setup drvdata and never read the value, lets just remove
> setting it in libsrp and let the server driver own the field.
> 
> Signed-off-by: Brian King <brking@xxxxxxxxxxxxxxxxxx>
> ---
> 
>  drivers/scsi/libsrp.c |    2 --
>  1 file changed, 2 deletions(-)

Oops, thanks. This change needs to be merged with ibmvscsis.

Acked-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux