.pru_attach and kernel warnings

2008-08-15 Thread Ryan French
Hi everyone, I'm having issues with trying to build my kernel at the moment with my MPLS development code included. I'm trying to build a pr_usrreqs struct and with my attach method I am getting the warning 'initialization from incompatible pointer type', but as far as I can see the way I have

Re: kern/126561: [nlm] NLM (rpclockd) RPC UNLOCK failure (stalls Mac OS X Finder, iTunes, etc?)

2008-08-15 Thread linimon
Old Synopsis: NLM (rpclockd) RPC UNLOCK failure (stalls Mac OS X Finder, iTunes, etc?) New Synopsis: [nlm] NLM (rpclockd) RPC UNLOCK failure (stalls Mac OS X Finder, iTunes, etc?) Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Sat

Re: .pru_attach and kernel warnings

2008-08-15 Thread Garrett Wollman
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes: >static int >mpls_attach(struct socket *so) The prototype for a protocol attach functions is int (*pru_attach)(struct socket *so, int proto, struct thread *td); (see sys/protosw.h). You don't have to use these arguments, but