ndis: fix ugly code

Julian Elischer julian at freebsd.org
Wed Oct 6 01:09:14 UTC 2010


  On 10/5/10 5:27 PM, Paul B Mahol wrote:
> On 10/5/10, Julian Elischer<julian at freebsd.org>  wrote:
>>    On 10/5/10 1:19 PM, Paul B Mahol wrote:
>>> Hi,
>>>
>>> If clang did not complain, I would probbaly never spot it.
>>>
>>> Patch attached.
>> personally I think you could use kproc_kthread_add so that a single
>> NDIS process had three threads.
> Patch attached. Now we have single "ndis" kernel process with own threads.
I don't know how ndis works. Is it possible that each ndis driver 
would have it's own process? or would each instance?
I don't even know if it's possible to run two different ndis drivers 
in the same kernel.
if that was the case we'd want to have a different name for each one 
so you can tell them,
but I just don't know enough about it.




More information about the freebsd-net mailing list