Re: Another rsync over ssh hang (repeatable, with 2.4.1 on both ends)

Date: Sat Mar 03 2001 - 10:42:16 EST


> this kernel was compiled with GCC 2.95.2,

This is a hint.

Could you make the following things:

1. to disassemble tcp_poll() (the easiest way is to gdb vmlinux, to
   say x/i tcp_poll and to hold enter pressed long enough, copying screen
   to file) and to send the result to me.
2. to apply the enclosed patchlet.
3. if 3 does not change anything, recompile with egcs-1.1.2


--- ../vger3-010223/linux/net/ipv4/tcp.c Fri Feb 23 21:28:34 2001
+++ linux/net/ipv4/tcp.c Sat Mar 3 18:37:22 2001
@@ -442,6 +443,8 @@
                                 set_bit(SOCK_ASYNC_NOSPACE, &sk->socket->flags);
                                 set_bit(SOCK_NOSPACE, &sk->socket->flags);
+ barrier();
                                 /* Race breaker. If space is freed after
                                  * wspace test but before the flags are set,
                                  * IO signal will be lost.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Mar 07 2001 - 21:00:14 EST