1
0
Fork 0
alistair23-linux/net/atm
Daniel Walker 84ff602efb [ATM]: Fix for crash in adummy_init()
This was reported by Ingo Molnar here,

http://lkml.org/lkml/2006/12/18/119

The problem is that adummy_init() depends on atm_init() , but adummy_init()
is called first.

So I put atm_init() into subsys_initcall which seems appropriate, and it
will still get module_init() if it becomes a module.

Interesting to note that you could crash your system here if you just load
the modules in the wrong order.

Signed-off-by: Daniel Walker <dwalker@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-02-08 12:38:53 -08:00
..
Kconfig [ATM]: Trivial spelling fix patch for net/Kconfig 2005-07-19 13:56:53 -07:00
Makefile [ATM]: Kill ipcommon.[ch] 2006-12-02 21:32:08 -08:00
addr.c [ATM]: add support for LECS addresses learned from network 2005-10-06 22:19:28 -07:00
addr.h [ATM]: add support for LECS addresses learned from network 2005-10-06 22:19:28 -07:00
atm_misc.c [ATM]: atm_pcr_goal() doesn't modify its argument's contents -- mark it as const 2005-11-29 16:13:55 -08:00
atm_sysfs.c [ATM]: handle sysfs errors 2006-10-21 19:55:22 -07:00
br2684.c [ATM]: Kill ipcommon.[ch] 2006-12-02 21:32:08 -08:00
clip.c [ATM]: Kill ipcommon.[ch] 2006-12-02 21:32:08 -08:00
common.c [ATM]: Fix for crash in adummy_init() 2007-02-08 12:38:53 -08:00
common.h [ATM]: basic sysfs support for ATM devices 2006-06-29 16:58:19 -07:00
ioctl.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lec.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-12-05 14:37:56 +00:00
lec.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-12-05 14:37:56 +00:00
lec_arpc.h [ATM]: [lec] add reference counting to lec_arp entries 2006-09-29 17:16:48 -07:00
mpc.c [ATM]: Use kmemdup & kzalloc where applicable 2006-12-02 21:30:13 -08:00
mpc.h [ATM]: Annotations. 2006-12-02 21:22:55 -08:00
mpoa_caches.c [ATM]: Use kmemdup & kzalloc where applicable 2006-12-02 21:30:13 -08:00
mpoa_caches.h [ATM]: Annotations. 2006-12-02 21:22:55 -08:00
mpoa_proc.c [ATM]: Annotations. 2006-12-02 21:22:55 -08:00
pppoatm.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
proc.c [PATCH] struct path: convert atm 2006-12-08 08:28:44 -08:00
protocols.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pvc.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
raw.c [PATCH] capable/capability.h (net/) 2006-01-11 18:42:14 -08:00
resources.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
resources.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
signaling.c [ATM]: keep atmsvc failure messages quiet 2006-03-04 21:06:25 -08:00
signaling.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
svc.c [NET]: move struct proto_ops to const 2006-01-03 13:11:15 -08:00