Re: [PATCH RFC 0/2] avoid crashing when reading /proc/scsi/scsi and simultaneously removing devices

2016-01-04 Thread Martin K. Petersen
> "Ewan" == Ewan D Milne writes: Ewan> The klist traversal used by the reading of /proc/scsi/scsi is not Ewan> interlocked against device removal. It takes a reference on the Ewan> containing object, but this does not prevent the device from being Ewan> removed from the

Re: [PATCH RFC 0/2] avoid crashing when reading /proc/scsi/scsi and simultaneously removing devices

2015-12-18 Thread Hannes Reinecke
On 12/08/2015 03:08 PM, Ewan D. Milne wrote: From: "Ewan D. Milne" The klist traversal used by the reading of /proc/scsi/scsi is not interlocked against device removal. It takes a reference on the containing object, but this does not prevent the device from being removed

[PATCH RFC 0/2] avoid crashing when reading /proc/scsi/scsi and simultaneously removing devices

2015-12-08 Thread Ewan D. Milne
From: "Ewan D. Milne" The klist traversal used by the reading of /proc/scsi/scsi is not interlocked against device removal. It takes a reference on the containing object, but this does not prevent the device from being removed from the list. Thus, we get errors and