diff options
author | Dexuan Cui <decui@microsoft.com> | 2015-12-15 03:01:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-15 06:15:05 +0300 |
commit | 63d55b2aeb5e4faa170316fee73c3c47ea9268c7 (patch) | |
tree | 3bbb112423731bce267feff4dd224dfe635dfdda /drivers/isdn/hisax/avm_a1p.c | |
parent | efc267226b827f347a329c395e16c08973b0e3d6 (diff) | |
download | linux-63d55b2aeb5e4faa170316fee73c3c47ea9268c7.tar.xz |
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 'drivers/isdn/hisax/avm_a1p.c')
0 files changed, 0 insertions, 0 deletions