[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070205.180447.38712391.davem@davemloft.net>
Date: Mon, 05 Feb 2007 18:04:47 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: akpm@...ux-foundation.org
Cc: netdev@...r.kernel.org, dwalker@...sta.com, chas@....nrl.navy.mil,
mingo@...e.hu
Subject: Re: [patch 03/11] fix for crash in adummy_init()
From: akpm@...ux-foundation.org
Date: Mon, 05 Feb 2007 16:30:56 -0800
> From: Daniel Walker <dwalker@...sta.com>
>
> 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@...sta.com>
> Cc: Ingo Molnar <mingo@...e.hu>
> Cc: chas williams <chas@....nrl.navy.mil>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Applied, and I'll queue this one up for -stable too.
Thanks.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists