diff options
author | Jason Wang <jasowang@redhat.com> | 2013-09-02 12:41:00 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-04 06:46:57 +0400 |
commit | 19c73b3e08d16ee923f3962df4abf6205127896a (patch) | |
tree | c41a951349c70e683ab84028facd68d97d9aab9a /fs/namespace.c | |
parent | ce21a02913dc79205485637b6e0927a4c800c4a4 (diff) | |
download | linux-19c73b3e08d16ee923f3962df4abf6205127896a.tar.xz |
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>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions