Neelam wrote:
> I am facing problems with gld_recv() inside a pseudo network driver. It 
> causing the kernel to panic with recursive rw_enter error. 
>
> Is there a restriction on how we could call gld_recv()? Because I suspect 
> that problem is because I am calling it in ioctl context!!
>   

That might be a bad idea.  You should not hold any locks when calling 
it.  Recognize when GLD calls you, that it hold locks on its own, so you 
might need to do something to break that context.  (Soft interrupt or 
taskq.)

    -- Garrett
> Thanks,
> Neelam
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-code mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
>
>   

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to