diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-06-22 16:22:49 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-07-11 23:31:52 +0300 |
commit | 279a42535dc977c495bdbda8c8831016e05a0a5d (patch) | |
tree | 56e5d698398028e804cc20c6263c679f197ba225 /softmmu_header.h | |
parent | a213ff63ead450c3bf3b47497681a1498570fcdd (diff) |
virtio-net: correct packet length math
We were requesting too much when checking buffer
length: size already includes host header length.
Further, we should not exit if we get a packet that
is too long, since this might not be under control
of the guest. Just drop the packet.
Red Hat bz 591494
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'softmmu_header.h')
0 files changed, 0 insertions, 0 deletions