git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
012873d
)
virtio_net: stricter short buffer length checks
author
Michael S. Tsirkin
<mst@redhat.com>
Thu, 23 Oct 2014 21:22:11 +0000
(
00:22
+0300)
committer
Michael S. Tsirkin
<mst@redhat.com>
Tue, 9 Dec 2014 10:05:28 +0000
(12:05 +0200)
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>
drivers/net/virtio_net.c
patch
|
blob
|
history
diff --cc
drivers/net/virtio_net.c
Simple merge