patch-2.3.30 linux/net/packet/af_packet.c
Next file: linux/net/socket.c
Previous file: linux/net/khttpd/main.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Sat Nov 27 15:27:49 1999
-  Orig file: 
v2.3.29/linux/net/packet/af_packet.c
-  Orig date: 
Mon Nov  1 13:56:27 1999
diff -u --recursive --new-file v2.3.29/linux/net/packet/af_packet.c linux/net/packet/af_packet.c
@@ -1858,8 +1858,7 @@
 	sock_register(&packet_family_ops);
 	register_netdevice_notifier(&packet_netdev_notifier);
 #ifdef CONFIG_PROC_FS
-	ent = create_proc_entry("net/packet", 0, 0);
-	ent->read_proc = packet_read_proc;
+	create_proc_read_entry("net/packet", 0, 0, packet_read_proc, NULL);
 #endif
 #ifdef MODULE
 	return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)