Hi,

We're seeing strange behavior of mpd (netgraph-ified ppp daemon)
under -current that doesn't occur under -stable.

The problem is that when mpd tries to do a connect(2) on a
(PF_INET, SOCK_RAW, IPPROTO_GRE), the kernel returns EINPROGRESS
instead of succeeding immediately (note: this is a datagram
socket so a connect should succeed immediately).

The only catch is that the connect(2) is being done in the kernel
by a ng_ksocket(4) node instead of via the normal system call.
The ng_ksocket(4) calls soconnect() to perform the connect.

I've tried reproducing the same problem with userland code but
it doesn't seem to happen.

So maybe this is a result of the different threading model in the
-current kernel?

Any ideas appreciated.

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to