[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Patch for sending large (>4k) packets through qemu/slirp

From: Kenneth Duda
Subject: [Qemu-devel] Patch for sending large (>4k) packets through qemu/slirp
Date: Thu, 06 Apr 2006 08:53:34 -0000

In qemu-, there are three problems with sending large
packets from guest to host:

 (1) the code in slirp's ip_reass() reads a next pointer out an mbuf
after freeing it via m_cat().

 (2) the code in slirp's m_inc() calls realloc() on a large mbuf, but
fails to adjust m_data to point to the new allocation (see

 (3) there are many places within ip_input(), ip_reass(),
udp_input(), etc., that treat ip_len and ip_off as though they were
declared unsigned, when in fact they have been declared signed.

Patches fixing these problems are attached. I hope they can be
applied.  Please let me know what I can do to make the patches more
likely to be accepted.



Attachment: qemu-slirp-reassembly-bug.patch
Description: Text document

Attachment: qemu-slirp-mbuf-bug.patch
Description: Text document

Attachment: qemu-slirp-32k-packets.patch
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]