From owner-freebsd-emulation Sat Sep 23 6:11:46 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from quack.kfu.com (quack.kfu.com [205.178.90.194]) by hub.freebsd.org (Postfix) with ESMTP id AC23C37B422 for ; Sat, 23 Sep 2000 06:11:44 -0700 (PDT) Received: from morpheus.kfu.com (morpheus.kfu.com [205.178.90.230]) by quack.kfu.com (8.11.0/8.9.3) with ESMTP id e8NDBce79847 for ; Sat, 23 Sep 2000 06:11:38 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Received: from quack.kfu.com by morpheus.kfu.com with ESMTP (8.11.0//ident-1.0) id e8NDBcK08536; Sat, 23 Sep 2000 06:11:38 -0700 (PDT) Message-ID: <39CCAC0A.ABCB738D@quack.kfu.com> Date: Sat, 23 Sep 2000 06:11:38 -0700 From: Nick Sayer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en-GB, en-US, en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Subject: Bridging fix Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This doesn't really have anything to do with emulation, except that lots of vmware users hang out here. :-) I have figured out that the upper protocol layers are not yet completely read-only with regards to mbufs coming in from downstream. What this means is that the bridge code must use m_dup rather than m_copypacket (the latter only bumps up refcounts to make it LOOK like you copied the packet). So if you are having trouble getting a vmware guest to be a DHCP client or otherwise participate correctly with broad- or multi-cast services, change all instances of m_copypacket in /sys/net/bridge.c and /sys/netgraph/ng_bridge.c to m_dup. That should fix it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message