summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-10-23 23:22:11 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-12-09 11:05:28 +0100
commitbcff3162f3e0274a18648628ac8b5a36d2914b49 (patch)
treeb04aa558e691fffe712355d8a8b63a0006377050 /ipc
parentvirtio_net: get rid of virtio_net_hdr/skb_vnet_hdr (diff)
downloadlinux-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