commit | 19c73b3e08d16ee923f3962df4abf6205127896a | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Mon Sep 02 16:41:00 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 03 22:46:57 2013 -0400 |
tree | c41a951349c70e683ab84028facd68d97d9aab9a | |
parent | ce21a02913dc79205485637b6e0927a4c800c4a4 [diff] |
vhost_net: poll vhost queue after marking DMA is done We used to poll vhost queue before making DMA is done, this is racy if vhost thread were waked up before marking DMA is done which can result the signal to be missed. Fix this by always polling the vhost thread before DMA is done. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>