Messages in this thread Patch in this message | | | From | kuznet@ms2 ... | Subject | Re: Another rsync over ssh hang (repeatable, with 2.4.1 on both ends) | Date | Sat, 3 Mar 2001 18:42:16 +0300 (MSK) |
| |
Hello!
> 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
Alexey
--- ../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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |