Re: [PATCH] scsi: storvsc: Fix a race in sub-channel creation that can cause panic

2018-11-28 Thread Martin K. Petersen
KY, > From: Dexuan Cui > > We can concurrently try to open the same sub-channel from 2 paths: > > path #1: vmbus_onoffer() -> vmbus_process_offer() -> handle_sc_creation(). > path #2: storvsc_probe() -> storvsc_connect_to_vsp() -> >-> storvsc_channel_init() -> handle_multichannel_storag

Re: [PATCH] scsi: storvsc: Fix a race in sub-channel creation that can cause panic

2018-11-25 Thread Sasha Levin
On Mon, Nov 26, 2018 at 12:26:17AM +, k...@linuxonhyperv.com wrote: From: Dexuan Cui We can concurrently try to open the same sub-channel from 2 paths: path #1: vmbus_onoffer() -> vmbus_process_offer() -> handle_sc_creation(). path #2: storvsc_probe() -> storvsc_connect_to_vsp() ->