[azure 4.13][PATCH] hv_netvsc: netvsc_teardown_gpadl() split
Marcelo Henrique Cerri
marcelo.cerri at canonical.com
Tue Dec 12 20:33:33 UTC 2017
Sorry. Without the patch, in a 4.13 kernel modprobe freezes when
reloading the network driver (hv_netvsc). This patch fixes the problem.
On Tue, Dec 12, 2017 at 06:29:06PM -0200, Thadeu Lima de Souza Cascardo wrote:
> On Tue, Dec 12, 2017 at 01:44:47PM -0200, Marcelo Henrique Cerri wrote:
> > From: Vitaly Kuznetsov <vkuznets at redhat.com>
> > BugLink: http://bugs.launchpad.net/bugs/1735546
> What are the test results here? Looking at the bug, I didn't see
> anything about this patch.
> > It was found that in some cases host refuses to teardown GPADL for send/
> > receive buffers (probably when some work with these buffere is scheduled or
> > ongoing). Change the teardown logic to be:
> > 1) Send NVSP_MSG1_TYPE_REVOKE_* messages
> > 2) Close the channel
> > 3) Teardown GPADLs.
> > This seems to work reliably.
> > Signed-off-by: Vitaly Kuznetsov <vkuznets at redhat.com>
> > Signed-off-by: David S. Miller <davem at davemloft.net>
> > (cherry picked from commit 0cf737808ae7cb25e952be619db46b9147a92f46)
> > Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: not available
More information about the kernel-team