diff options
author | Eric Auger <[email protected]> | 2018-04-11 15:30:38 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-11 10:52:34 -0400 |
commit | 7ced6c98c7ab7a1f6743931e28671b833af79b1e (patch) | |
tree | 83c1da2c76b6b049915063144677b9b77a9ba122 /lib/timerqueue.c | |
parent | 98239c9096ed1dad97f01c66aa6d8b6e9be9029a (diff) |
vhost: Fix vhost_copy_to_user()
vhost_copy_to_user is used to copy vring used elements to userspace.
We should use VHOST_ADDR_USED instead of VHOST_ADDR_DESC.
Fixes: f88949138058 ("vhost: introduce O(1) vq metadata cache")
Signed-off-by: Eric Auger <[email protected]>
Acked-by: Jason Wang <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions