Re: SMBFS: recvmsg called within BH (was: Re: One more boobytrap needed for 2.2.15pre ?)

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Thu Feb 24 2000 - 10:57:46 EST


"Michael H. Warfield" wrote:
>
> This other problem about calling a function out of a BH handler
> is probably something that has been in there for a LONG time and could
> acount for some sporatic error reports I heard. It also sounds like
> a huge can of worms.
>

As a quick fix, smb_data_callback() could add a function to the
tq_scheduler queue: this callback would run at process context, and then
it can call ->recvmsg() without any problems [ok, perhaps lock_kernel()
is required for SMP]

--
	Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:10 EST