| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] Fix for broken unix_accept |
| From: | Lars Heete <hel@xxxxxxxx> |
| Date: | Mon, 13 Dec 1999 09:46:24 +0100 |
| Sender: | owner-netdev@xxxxxxxxxxx |
Hello, the accept call on unix-domain sockets in current 2.3 Linux is broken. Instead of waiting for an incoming connection, it returns ENOTCONN. The problem is the use of skb_recv_datagram, which checks for TCP_ESTABLISHED state before waiting. My solution is to use an own unix_wait_for_connect function, similar to wait_for_packet in core/datagram.c, but without unneeded error checks. Lars Heete
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [no subject], Andreas Thorstensson |
|---|---|
| Next by Date: | Re: [PATCH] Fix for broken unix_accept, David S. Miller |
| Previous by Thread: | [no subject], Andreas Thorstensson |
| Next by Thread: | Re: [PATCH] Fix for broken unix_accept, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |