[1303] in linux-net channel archive
ip-forwarding fix for kerneld
daemon@ATHENA.MIT.EDU (bj0rn@blox.se)
Wed Nov 1 17:33:57 1995
From: bj0rn@blox.se
To: linux-kernel@vger.rutgers.edu
Date: Wed, 1 Nov 1995 12:31:06 +0100 (MET)
Cc: linux-net@vger.rutgers.edu
For those of you that have a Linux-box as a gateway, and who want to try
out kerneld with automagic dial-up PPP, please tell me your experiences
with this patch to the kerneld-patch(es):
--- linux/include/linux/kerneld.h.wait_route Wed Nov 1 12:00:48 1995
+++ linux/include/linux/kerneld.h Wed Nov 1 12:00:55 1995
@@ -92,7 +92,7 @@
static inline int kerneld_route(const char *ip_route)
{
return kerneld_send(KERNELD_REQUEST_ROUTE,
- 0 | KERNELD_WAIT,
+ 0 | KERNELD_NOWAIT,
strlen(ip_route), ip_route, NULL);
}
The result should be that TCP-connections will work seamlessly, but lower
level protocols (IP, ICMP, ...) will just "trigger" the connection via kerneld,
since packets will be dropped until the route is "up".
Bjorn <bj0rn@blox.se>