patch-1.3.22 linux/net/ipv4/protocol.c

Next file: linux/net/ipv4/raw.c
Previous file: linux/net/ipv4/ipmr.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.21/linux/net/ipv4/protocol.c linux/net/ipv4/protocol.c
@@ -15,6 +15,7 @@
  *				  udp_err is never called!
  *		Alan Cox	: Added new fields for init and ready for
  *				  proper fragmentation (_NO_ 4K limits!)
+ *		Richard Colella	: Hang on hash collision
  *
  *		This program is free software; you can redistribute it and/or
  *		modify it under the terms of the GNU General Public License
@@ -155,7 +156,7 @@
 		prot->copy = 1;
 		break;
 	}
-	p2 = (struct inet_protocol *) prot->next;
+	p2 = (struct inet_protocol *) p2->next;
   }
 }
 

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this