c36c826ad3
commit 6fd28941447bf2c8ca0f26fda612a1cabc41663f upstream.
Rescind offer handling relies on rescind callbacks for some of the
resources cleanup, if they are registered. It does not unregister
vmbus device for the primary channel closure, when callback is
registered. Without it, next onoffer does not come, rescind flag
remains set and device goes to unusable state.
Add logic to unregister vmbus for the primary channel in rescind callback
to ensure channel removal and relid release, and to ensure that next
onoffer can be received and handled properly.
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
uio.c | ||
uio_aec.c | ||
uio_cif.c | ||
uio_dfl.c | ||
uio_dmem_genirq.c | ||
uio_fsl_elbc_gpcm.c | ||
uio_hv_generic.c | ||
uio_mf624.c | ||
uio_netx.c | ||
uio_pci_generic.c | ||
uio_pdrv_genirq.c | ||
uio_pruss.c | ||
uio_sercos3.c |