|
@@ -429,7 +429,7 @@ unsigned int tcp_poll(struct file *file, struct socket *sock, poll_table *wait)
|
|
if (tp->urg_seq == tp->copied_seq &&
|
|
if (tp->urg_seq == tp->copied_seq &&
|
|
!sock_flag(sk, SOCK_URGINLINE) &&
|
|
!sock_flag(sk, SOCK_URGINLINE) &&
|
|
tp->urg_data)
|
|
tp->urg_data)
|
|
- target--;
|
|
|
|
|
|
+ target++;
|
|
|
|
|
|
/* Potential race condition. If read of tp below will
|
|
/* Potential race condition. If read of tp below will
|
|
* escape above sk->sk_state, we can be illegally awaken
|
|
* escape above sk->sk_state, we can be illegally awaken
|