Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 2009 11:41:42 +0200
From:      Ed Schouten <ed@80386.nl>
To:        Maslan <maslanbsd@gmail.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: sosend() and mbuf
Message-ID:  <20090804094142.GO1292@hoeg.nl>
In-Reply-To: <319cceca0908040239k2accd7fen402db4c91687a267@mail.gmail.com>
References:  <319cceca0908030119i3432a495ya60aa431dab0e1b1@mail.gmail.com> <86k51k4kvl.fsf@ds4.des.no> <86fxc84ksj.fsf@ds4.des.no> <200908040138.14743.max@love2party.net> <319cceca0908040227hf9a0f92jbf05b11e9f974994@mail.gmail.com> <20090804093036.GN1292@hoeg.nl> <319cceca0908040239k2accd7fen402db4c91687a267@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--TgCXP+xznsSrEyty
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Maslan <maslanbsd@gmail.com> wrote:
> I'm getting crazy,
>=20
> 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?

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--TgCXP+xznsSrEyty
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkp4AlYACgkQ52SDGA2eCwUY6gCbBcIIe97Fd16IydKdQq7hsdu2
MygAnjT3tOpUAac2pCbTd0/cZqivdhME
=+i9g
-----END PGP SIGNATURE-----

--TgCXP+xznsSrEyty--



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