patch-2.3.25 linux/net/core/dev_mcast.c

Next file: linux/net/core/profile.c
Previous file: linux/net/core/dev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.24/linux/net/core/dev_mcast.c linux/net/core/dev_mcast.c
@@ -258,10 +258,7 @@
 void __init dev_mcast_init(void)
 {
 #ifdef CONFIG_PROC_FS
-	struct proc_dir_entry *ent;
-
-	ent = create_proc_entry("net/dev_mcast", 0, 0);
-	ent->read_proc = dev_mc_read_proc;
+	create_proc_read_entry("net/dev_mcast", 0, 0, dev_mc_read_proc, NULL);
 #endif
 }
 

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