Re: Linux 2.4.6-ac4

From: David Ford (david@blue-labs.org)
Date: Sun Jul 15 2001 - 19:20:44 EST


Alan,

Have you reviewed the patch I posted yesterday regarding net_dev_init()
and double lock in sch_teql.c?

net_dev_init() is originally called in genhd.c, I don't see as it's
necessary to call it again.

David

--- linux-2.4.6.orig/net/core/dev.c Sat Jul 14 17:48:57 2001
+++ linux-2.4.6/net/core/dev.c Wed Jun 20 21:00:55 2001
@@ -2405,6 +2401,9 @@
 #ifdef CONFIG_NET_FASTROUTE
        dev->fastpath_lock=RW_LOCK_UNLOCKED;
 #endif
-
- if (dev_boot_phase)
- net_dev_init();
 
 #ifdef CONFIG_NET_DIVERT
        ret = alloc_divert_blk(dev);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jul 15 2001 - 21:00:23 EST