Fix X-Windows hangs in 2.4
Brought to you by:
chrissie_c,
ph3-der-loewe
This patch to the 2.4 kernel fixes seemingly random
disconnects when using X-windows over DECnet from VMS
to Linux.
--- net/decnet/af_decnet.c.old 2002-11-04
14:12:26.000000000 -0200
+++ net/decnet/af_decnet.c 2002-11-04
12:45:24.000000000 -0200
@@ -1771,7 +1771,7 @@
goto out;
if (signal_pending(current)) {
- rv = -ERESTARTSYS;
+ rv = -EAGAIN;
goto out;
}
@@ -1964,7 +1964,8 @@
goto out;
if (signal_pending(current)) {
- err = -ERESTARTSYS;
+ /* VMH - testing X crash -
printk("DECnet 6\n"); */
+ err = -EAGAIN;
goto out;
}
Logged In: YES
user_id=28255
A version of this patch will be incorporated in the 2.6.10
kernel.