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

2018-10-16 Thread Jason Wang
On 2018/10/16 下午6:15, ake wrote: On 2018年10月16日 17:53, Jason Wang wrote: On 2018/10/15 下午6:08, ake wrote: On 2018年10月12日 18:18, ake wrote: On 2018年10月12日 17:23, Jason Wang wrote: On 2018年10月12日 12:30, ake wrote: On 2018年10月11日 22:06, Jason Wang wrote: On 2018年10月11日 18:22, ake wrote: On

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

2018-10-16 Thread Jason Wang
On 2018/10/15 下午6:08, ake wrote: On 2018年10月12日 18:18, ake wrote: On 2018年10月12日 17:23, Jason Wang wrote: On 2018年10月12日 12:30, ake wrote: On 2018年10月11日 22:06, Jason Wang wrote: 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 w

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

2018-10-12 Thread Jason Wang
On 2018年10月12日 12:30, ake wrote: On 2018年10月11日 22:06, Jason Wang wrote: 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 go

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 cause

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 issue