patch-2.1.119 linux/net/ipv6/udp.c

Next file: linux/net/unix/af_unix.c
Previous file: linux/net/ipv6/tcp_ipv6.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.118/linux/net/ipv6/udp.c linux/net/ipv6/udp.c
@@ -569,7 +569,7 @@
 
 	/* deliver */
 
-	if (sk->sock_readers)
+	if (atomic_read(&sk->sock_readers))
 		__skb_queue_tail(&sk->back_log, skb);
 	else
 		udpv6_queue_rcv_skb(sk, skb);

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