diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2017-09-29 21:09:36 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-04 11:25:09 +0200 |
commit | 192b2d78722ffea188e5ec6ae5d55010dce05a4b (patch) | |
tree | f48582ce3f3c880fa6c57452abe029d66bad04ff /mm/swap.c | |
parent | 688cb67839e852740d22cf763e5eafb27d5a6e53 (diff) | |
download | linux-stable-192b2d78722ffea188e5ec6ae5d55010dce05a4b.tar.gz linux-stable-192b2d78722ffea188e5ec6ae5d55010dce05a4b.tar.bz2 linux-stable-192b2d78722ffea188e5ec6ae5d55010dce05a4b.zip |
Drivers: hv: vmbus: Fix bugs in rescind handling
This patch addresses the following bugs in the current rescind handling code:
1. Fixes a race condition where we may be invoking hv_process_channel_removal()
on an already freed channel.
2. Prevents indefinite wait when rescinding sub-channels by correctly setting
the probe_complete state.
I would like to thank Dexuan for patiently reviewing earlier versions of this
patch and identifying many of the issues fixed here.
Greg, please apply this to 4.14-final.
Fixes: '54a66265d675 ("Drivers: hv: vmbus: Fix rescind handling")'
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Cc: stable@vger.kernel.org # (4.13 and above)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions