diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-10-24 01:22:11 +0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-12-09 13:05:28 +0300 |
commit | bcff3162f3e0274a18648628ac8b5a36d2914b49 (patch) | |
tree | b04aa558e691fffe712355d8a8b63a0006377050 /net/lapb/lapb_timer.c | |
parent | 012873d057a449c4480e7679e733a7daa9aa540f (diff) | |
download | linux-bcff3162f3e0274a18648628ac8b5a36d2914b49.tar.xz |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions