diff options
| author | 2015-12-14 16:01:47 -0800 | |
|---|---|---|
| committer | 2015-12-14 19:15:05 -0800 | |
| commit | 63d55b2aeb5e4faa170316fee73c3c47ea9268c7 (patch) | |
| tree | 3bbb112423731bce267feff4dd224dfe635dfdda /include | |
| parent | Drivers: hv: vmbus: Get rid of the unused irq variable (diff) | |
Drivers: hv: vmbus: serialize process_chn_event() and vmbus_close_internal()
process_chn_event(), running in the tasklet, can race with
vmbus_close_internal() in the case of SMP guest, e.g., when the former is
accessing channel->inbound.ring_buffer, the latter could be freeing the
ring_buffer pages.
To resolve the race, we can serialize them by disabling the tasklet when
the latter is running here.
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
