Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2000 06:11:38 -0700
From:      Nick Sayer <nsayer@quack.kfu.com>
To:        freebsd-emulation@freebsd.org
Subject:   Bridging fix
Message-ID:  <39CCAC0A.ABCB738D@quack.kfu.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39CCAC0A.ABCB738D>