[EMAIL PROTECTED] writes:
> Yep... Damn, specially split errno and ready values and forgot to use
> this. 8) Sorry.
Patch applied.
Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
P
Hello!
> Looking at net/core/datagram.c:wait_for_packet the code will return 0
Yep... Damn, specially split errno and ready values and forgot to use
this. 8) Sorry.
Alexey
--- ../vger3-010130/linux/net/core/datagram.c Thu Dec 28 22:44:08 2000
+++ linux/net/core/datagram.c Thu Feb 1 22:4
Looking at net/core/datagram.c:wait_for_packet the code will return 0
when the socket has been shutdown. That causes skb_recv_datagram to loop
which is in itself obviously incorrect for a shutdown socket (its in EOF
state)
I suspect it should read something like
/* Socket shut down? */
3 matches
Mail list logo