diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-14 23:08:29 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-12-03 05:24:01 +0300 |
commit | 19c5b89d8d582cce9a90335de212cf477fe15b95 (patch) | |
tree | b998b3983df8c51352d4b519cef781246a9f7ba4 /drivers/fpga/fpga-bridge.c | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) | |
download | linux-19c5b89d8d582cce9a90335de212cf477fe15b95.tar.xz |
vmci: fix buf_size in case of iovec-based accesses
Both qp_dequeue_locked() and qp_enqueue_locked() use the
buf_size argument to decide how much would be there to copy;
in case of iovec- (== msghdr-)based primitives it's not
iov_size, it's msg_data_left(msg).
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions