sosend() and mbuf

Ed Schouten ed at 80386.nl
Tue Aug 4 09:41:43 UTC 2009


* Maslan <maslanbsd at gmail.com> wrote:
> I'm getting crazy,
> 
> I don't know why kern_open() works in the module's main thread, but
> when I use it in another thread created by kthread_create() it crashes
> the kernel ???

Is it possible to call kern_open() from within a kernel thread anyway?
kern_open() depends on a file descriptor table, right?

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090804/c48a99a5/attachment.pgp


More information about the freebsd-hackers mailing list