lkml.org 
[lkml]   [1996]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: kerneld/request-route interaction bug with kernel patch
Date
Hello!

> I think that the problem is fixed by the patch below. Possibly there is
> a better way to do this, but this is working for me. With this patch,
> for example, the first 'rlogin' to a remote system will succeed. Without
> it, the rlogin will fail.

Oooouch! It means that kerneld_send sleeps... It is disaster.
Even if your patch seems to be working, it will eventually destroy your system.

You can two choices:
- comment call to kerneld_send.
- patch kerneld.h.

static inline int kerneld_route(const char *ip_route)
{
+ if (intr_count) return NULL;
return kerneld_send(KERNELD_REQUEST_ROUTE,
- 0 | KERNELD_WAIT,
+ 0 | KERNELD_NOWAIT,
strlen(ip_route), ip_route, NULL);
}


Your rlogin will not work from first time, just because it is
impossible for current TCP.

Alexey Kuznetsov.


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.050 / U:16.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site