From owner-freebsd-emulation Sat Sep 23 7: 6:26 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from blount.mail.mindspring.net (blount.mail.mindspring.net [207.69.200.226]) by hub.freebsd.org (Postfix) with ESMTP id 715B537B422; Sat, 23 Sep 2000 07:06:21 -0700 (PDT) Received: from jupiter.delta.ny.us (nyf-ny7-20.ix.netcom.com [198.211.17.148]) by blount.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id KAA04499; Sat, 23 Sep 2000 10:06:18 -0400 (EDT) Received: (from vsilyaev@localhost) by jupiter.delta.ny.us (8.9.3/8.9.3) id KAA00417; Sat, 23 Sep 2000 10:06:14 -0400 (EDT) (envelope-from vsilyaev) Date: Sat, 23 Sep 2000 10:06:14 -0400 (EDT) From: "Vladimir N. Silyaev" Message-Id: <200009231406.KAA00417@jupiter.delta.ny.us> To: nsayer@quack.kfu.com Cc: emulation@freebsd.org, net@freebsd.org Subject: Re: Bridging fix In-Reply-To: <39CCAC0A.ABCB738D@quack.kfu.com> References: <39CCAC0A.ABCB738D@quack.kfu.com> Reply-To: vns@delta.odessa.ua Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Oh, great. Do you know, does that fixed problem with bridging code in the case when active more than two network interfaces? And probably that fix should significantly reduce perfomance for the case when bridging are used not for VMware needs ;-(. Vladimir In muc.lists.freebsd.emulation, you wrote: >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 > -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message