[ofa-general] Re: [PATCH] drivers/infiniband/ulp/srpt: Fix targetdata corruption

Sufficool, Stanley ssufficool at rov.sbcounty.gov
Tue Jan 29 16:04:09 PST 2008


When did ib_srpt start registering sessions with target node GUID? I
thought it used the port GUID on target side.


> -----Original Message-----
> From: general-bounces at lists.openfabrics.org 
> [mailto:general-bounces at lists.openfabrics.org] On Behalf Of Vu Pham
> Sent: Friday, January 25, 2008 9:01 AM
> To: davem at systemfabricworks.com
> Cc: general at lists.openfabrics.org
> Subject: [ofa-general] Re: [PATCH] 
> drivers/infiniband/ulp/srpt: Fix targetdata corruption
> 
> 
> davem at systemfabricworks.com wrote:
> >    Change the local buffer allocator to use a spin-lock 
> protected linked
> >    list instead of an array of atomic_t used/free 
> variables.  The atomic_t
> >    code was open to a multi-thread race between test and 
> set.  This has
> >    been observed with the result that the same data buffer 
> was used for
> >    more than one SCSI operation, either writing the wrong 
> data to the disk
> >    or sending the wrong data to the initiator.
> >
> > Signed-off-by: Robert Pearson <rpearson at systemfabricworks.com>
> > Signed-off-by: David A. McMillen <davem at systemfabricworks.com>
> >   
> Applied. Thanks
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org 
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit 
> http://openib.org/mailman/listinfo/openib-general
> 



More information about the general mailing list