Re: [PATCH v5 01/34] cxlflash: Fix to avoid invalid port_sel value

2015-10-02 Thread Tomas Henzl
On 1.10.2015 17:54, Matthew R. Ochs wrote: > From: Manoj Kumar > > If two concurrent MANAGE_LUN ioctls are issued with the same > WWID parameter, it would result in an incorrect value of port_sel. > > This is because port_sel is modified without any locks being > held. If the first caller stalls a

[PATCH v5 01/34] cxlflash: Fix to avoid invalid port_sel value

2015-10-01 Thread Matthew R. Ochs
From: Manoj Kumar If two concurrent MANAGE_LUN ioctls are issued with the same WWID parameter, it would result in an incorrect value of port_sel. This is because port_sel is modified without any locks being held. If the first caller stalls after the return from find_and_create_lun(), the value o