Re: [PATCH] virtio_net: enable tx after resuming from suspend

2018-10-11 Thread Jason Wang
On 2018年10月11日 18:22, ake wrote: On 2018年10月11日 18:44, Jason Wang wrote: On 2018年10月11日 15:51, Ake Koomsin wrote: commit 713a98d90c5e ("virtio-net: serialize tx routine during reset") disabled the virtio tx before going to suspend to avoid a use after free. However, after resuming, it caus

Re: [PATCH] virtio_net: enable tx after resuming from suspend

2018-10-11 Thread ake
On 2018年10月11日 18:44, Jason Wang wrote: > > > On 2018年10月11日 15:51, Ake Koomsin wrote: >> commit 713a98d90c5e ("virtio-net: serialize tx routine during reset") >> disabled the virtio tx before going to suspend to avoid a use after free. >> However, after resuming, it causes the virtio_net devi

Re: [PATCH] virtio_net: enable tx after resuming from suspend

2018-10-11 Thread Jason Wang
On 2018年10月11日 15:51, Ake Koomsin wrote: commit 713a98d90c5e ("virtio-net: serialize tx routine during reset") disabled the virtio tx before going to suspend to avoid a use after free. However, after resuming, it causes the virtio_net device to lose its network connectivity. To solve the issu

[PATCH] virtio_net: enable tx after resuming from suspend

2018-10-11 Thread Ake Koomsin
commit 713a98d90c5e ("virtio-net: serialize tx routine during reset") disabled the virtio tx before going to suspend to avoid a use after free. However, after resuming, it causes the virtio_net device to lose its network connectivity. To solve the issue, we need to enable tx after resuming. Fixes