qemu-devel
[Top][All Lists]
Advanced

[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: Fri, 7 Apr 2006 11:05:45 -0700

Hi everyone,

I have patches for a few bugs in qemu, and am new to the list --- if
anyone could clue me in on the best way to get patches applied to the
qemu mainline, that would be great.

This patch fixes three problems (actually all in slirp) with sending
large packets from guest to host in qemu-0.8.0.20060327:

 (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
http://lists.gnu.org/archive/html/qemu-devel/2005-05/msg00228.html).

 (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.

Thanks,

  -Ken

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]