Doug,
I've run into this bug since about 4.6-stable of some time. I use netgraph to connect to a tap device in vmnet mode since in vmnet mode it is persistan. In tap mode if comes and goes depending on whether or not I have the device open. Anyways I couldn't get data to come in the vmnet node through netgraph with only the interface up, auto source off and promicious on (ie. bridge mode). This patches fixes it by doing and init to get the interface going. Any objections to this change? If you give the interface an IP then it works okay except you shouldn't have to do that.
"vmnet" mode is special. It has been introduced when if_tap and vmnet were merged into one driver. I tried to be compatible with old vmnet driver (note XXX comment). Just need to make sure this does not break VMWare (will try later today). Another possible solution is to introduce "persistent" mode for tap, i.e. a couple of new ioctl()'s for tap device to set/get persistent mode and to init tap interface. thanks, max To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message
