commit | bcff3162f3e0274a18648628ac8b5a36d2914b49 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Fri Oct 24 00:22:11 2014 +0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Tue Dec 09 12:05:28 2014 +0200 |
tree | b04aa558e691fffe712355d8a8b63a0006377050 | |
parent | 012873d057a449c4480e7679e733a7daa9aa540f [diff] |
virtio_net: stricter short buffer length checks Our buffer length check is not strict enough for mergeable buffers: buffer can still be shorter that header + address by 2 bytes. Fix that up. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Jason Wang <jasowang@redhat.com>