diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-10-23 23:22:11 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-12-09 11:05:28 +0100 |
commit | bcff3162f3e0274a18648628ac8b5a36d2914b49 (patch) | |
tree | b04aa558e691fffe712355d8a8b63a0006377050 /ipc | |
parent | virtio_net: get rid of virtio_net_hdr/skb_vnet_hdr (diff) | |
download | linux-bcff3162f3e0274a18648628ac8b5a36d2914b49.tar.xz linux-bcff3162f3e0274a18648628ac8b5a36d2914b49.zip |
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions