patch-2.1.28 linux/net/ipv6/icmp.c
Next file: linux/net/ipv6/ipv6_input.c
Previous file: linux/net/ipv6/af_inet6.c
Back to the patch index
Back to the overall index
-  Lines: 27
-  Date:
Mon Mar  3 09:37:45 1997
-  Orig file: 
v2.1.27/linux/net/ipv6/icmp.c
-  Orig date: 
Mon Jan 13 22:16:49 1997
diff -u --recursive --new-file v2.1.27/linux/net/ipv6/icmp.c linux/net/ipv6/icmp.c
@@ -356,7 +356,7 @@
 		len -= hdrlen;
 	}
 
-	hash = nexthdr & (MAX_INET_PROTOS -1);
+	hash = nexthdr & (MAX_INET_PROTOS - 1);
 
 	for (ipprot = (struct inet6_protocol *) inet6_protos[hash]; 
 	     ipprot != NULL; 
@@ -375,15 +375,14 @@
 
 	/* delivery to upper layer protocols failed. try raw sockets */
 
-	sk = rawv6_prot.sock_array[hash];
+	sk = raw_v6_htable[hash];
 
 	if (sk == NULL)
 	{
 		return;
 	}
 
-	while ((sk = inet6_get_sock_raw(sk, nexthdr, daddr, saddr)))
-	{
+	while((sk = raw_v6_lookup(sk, nexthdr, daddr, saddr))) {
 		rawv6_err(sk, type, code, pbuff, saddr, daddr);
 		sk = sk->next;
 	}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov