Hi,

I think there are a little problem in  "rtnetproxy_init_module" 

static int __init rtnetproxy_init_module(void)
{
...
    /* Init the task for transmission */
    rtos_task_init(&rtnetproxy_thread, rtnetproxy_transmit_thread, 0,
                   RTOS_LOWEST_RT_PRIORITY);
    rtos_event_init(&rtnetproxy_event);
...
}

When you call rtos_task_init, the "rtnetproxy_transmit_thread" will be
started and waiting for a "rtnetproxy_event". At this time, the
"rtnetproxy_event" has not been init.- it will cause some kernel panic
in my system!

"Rtos_event_init" must be called before "rtos_task_init"!!


The problem will be the same in rtnet 0.6.1 ???

TQD




         






-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
RTnet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to