Re: [PATCH 1/1] Drivers: hv: vmbus: Add timeout to vmbus_wait_for_unload
From: Wei Liu
Date:  Mon Sep 14 2020 - 05:03:07 EST
On Sun, Sep 13, 2020 at 07:56:30PM +0000, Dexuan Cui wrote:
> > From: linux-hyperv-owner@xxxxxxxxxxxxxxx
> > <linux-hyperv-owner@xxxxxxxxxxxxxxx> On Behalf Of Michael Kelley
> > Sent: Sunday, September 13, 2020 12:47 PM
> > 
> > vmbus_wait_for_unload() looks for a CHANNELMSG_UNLOAD_RESPONSE
> > message
> > coming from Hyper-V.  But if the message isn't found for some reason,
> > the panic path gets hung forever.  Add a timeout of 10 seconds to prevent
> > this.
> > 
> > Fixes: 415719160de3 ("Drivers: hv: vmbus: avoid scheduling in interrupt
> > context in vmbus_initiate_unload()")
> > Signed-off-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>
> 
> Reviewed-by: Dexuan Cui <decui@xxxxxxxxxxxxx>
LGTM.
Applied to hyperv-fixes. Thanks.
Wei.