linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / net / core / datagram.c
index aecddcc..b8ce6bf 100644 (file)
@@ -500,8 +500,6 @@ unsigned int datagram_poll(struct file *file, struct socket *sock,
        /* exceptional events? */
        if (sk->sk_err || !skb_queue_empty(&sk->sk_error_queue))
                mask |= POLLERR;
-       if (sk->sk_shutdown & RCV_SHUTDOWN)
-               mask |= POLLRDHUP;
        if (sk->sk_shutdown == SHUTDOWN_MASK)
                mask |= POLLHUP;