patch-1.3.37 linux/net/ipv4/af_inet.c

Next file: linux/net/ipv4/icmp.c
Previous file: linux/net/core/skbuff.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.36/linux/net/ipv4/af_inet.c linux/net/ipv4/af_inet.c
@@ -230,6 +230,7 @@
 	while ((tmp = *skp) != NULL) {
 		if (!(tmp->rcv_saddr & mask))
 			break;
+		skp = &tmp->next;
 	}
 	sk->next = tmp;
 	*skp = sk;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this