commit | edc981443d5bd23e01639c2fbba4fbc2dc30204f | [log] [tgz] |
---|---|---|
author | Yang Hongyang <yanghy@cn.fujitsu.com> | Tue Oct 20 09:51:25 2015 +0800 |
committer | Jason Wang <jasowang@redhat.com> | Tue Oct 27 10:30:40 2015 +0800 |
tree | 962fb402b6c57523d2d494079a0c3a60cd1cc5c2 | |
parent | 5320c2caf43cc76748a1ffa0fdcaa9eb501d3fcd [diff] |
net: make iov_to_buf take right size argument in nc_sendv_compat() We want "buf, sizeof(buf)" here. sizeof(buffer) is the size of a pointer, which is wrong. Thanks to Paolo for pointing it out. Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com> Cc: Jason Wang <jasowang@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>