patch-2.3.49 linux/net/ipv6/icmp.c

Next file: linux/net/ipv6/ip6_input.c
Previous file: linux/net/ipv6/datagram.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/net/ipv6/icmp.c linux/net/ipv6/icmp.c
@@ -5,7 +5,7 @@
  *	Authors:
  *	Pedro Roque		<roque@di.fc.ul.pt>
  *
- *	$Id: icmp.c,v 1.26 2000/01/19 04:06:19 davem Exp $
+ *	$Id: icmp.c,v 1.27 2000/02/22 23:54:28 davem Exp $
  *
  *	Based on net/ipv4/icmp.c
  *
@@ -477,7 +477,6 @@
 
 	hash = nexthdr & (MAX_INET_PROTOS - 1);
 
-	read_lock(&inet6_protocol_lock);
 	for (ipprot = (struct inet6_protocol *) inet6_protos[hash]; 
 	     ipprot != NULL; 
 	     ipprot=(struct inet6_protocol *)ipprot->next) {
@@ -487,7 +486,6 @@
 		if (ipprot->err_handler)
 			ipprot->err_handler(skb, hdr, NULL, type, code, pb, info);
 	}
-	read_unlock(&inet6_protocol_lock);
 
 	read_lock(&raw_v6_lock);
 	if ((sk = raw_v6_htable[hash]) != NULL) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)