patch-2.1.110 linux/net/ipv4/tcp.c

Next file: linux/net/sched/sch_api.c
Previous file: linux/net/appletalk/ddp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.109/linux/net/ipv4/tcp.c linux/net/ipv4/tcp.c
@@ -580,7 +580,7 @@
 		/* Always wake the user up when an error occurred */
 		if (sock_wspace(sk) >= space || sk->err)
 			mask |= POLLOUT | POLLWRNORM;
-		if (tp->urg_data)
+		if (tp->urg_data & URG_VALID)
 		    	mask |= POLLPRI;
 	}
 	return mask;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov