]> xenbits.xensource.com Git - qemu-xen-4.0-testing.git/commit
merge from in xen-unstable tip (17318:b5fea3aeb04b): hw/rtl8139.c
authorIan Jackson <iwj@mariner.uk.xensource.com>
Wed, 7 May 2008 17:44:26 +0000 (18:44 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 12 May 2008 11:20:11 +0000 (12:20 +0100)
commit20ea41e302650ec05c24b8b3c7c8a96c4d32d56a
tree66f1669e7eae7bd8f115083a10382da2e6671cc4
parentc979ffd9a8683ddbf8f013ad55d75cfb7c64e6c0
merge from in xen-unstable tip (17318:b5fea3aeb04b): hw/rtl8139.c

merge this changeset from xen-unstable:

changeset:   12482:075f4ffdbbce5527ba525a515abe320703d17a0e
user:        kfraser@localhost.localdomain
date:        Fri Nov 17 10:34:08 2006 +0000
files:       tools/ioemu/hw/rtl8139.c
description:
[QEMU] rtl8139: Disallow chaining above 64K

As it stands the 8139C+ TX chaining is only bounded by realloc failure.
This is contrary to how the real hardware operates.  It also has DoS
potential when ioemu runs in dom0.

This patch makes any attempt to chain a frame beyond 64K fail
immediately.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
hw/rtl8139.c