when to use ip_route_input() and not ip_route_output_key

2006-05-07 Thread benzi vizman
Hi, Can one summerize what's the cases calling each of these routing queries? What are the differences? Benzi. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

schedule() does not work...

2006-05-04 Thread benzi vizman
Hi, I try to run the following code in kernel (which is similar to apm() function) but it does not seem to work... if (smp_processor_id() != cpu) { current->cpus_allowed = (1UL << cpu); schedule(); if (smp_processor_id() != cpu) { BUG(); } } Any idea why? Ben

schedule() does not work...

2006-05-04 Thread benzi vizman
Hi, I try to run the following code in kernel (which is similar to apm() function) but it does not seem to work... if (smp_processor_id() != cpu) { current->cpus_allowed = (1UL << cpu); schedule(); if (smp_processor_id() != cpu) { BUG(); } } Any idea why? Ben