[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4721CF60.5060600@sw.ru>
Date: Fri, 26 Oct 2007 15:28:32 +0400
From: "Denis V. Lunev" <den@...ru>
To: "Denis V. Lunev" <den@...nvz.org>
CC: davem@...emloft.net, devel@...nvz.org, netdev@...r.kernel.org,
containers@...ts.osdl.org, benjamin.thery@...l.net, clg@...ibm.com
Subject: Re: [PATCH] remove __net_initdata attribute
Dave, I am sorry, plz disregard the patch :(
- if the file is a part of the kernel, __exit (and pernet_unregister)
will never called and should be dropped
- if the file is a part of a module, __init is NOT dropped on the
module loading stage
So, we can still make embedded people happy :) Thanks Pavel to pointing
me this out.
Denis V. Lunev wrote:
> The discussion with Eric W. Biederman reveals that the concept for
> __net_initdata is bogus. The ->exit method of pernet_operations
> should be called during module exit.
>
> So, discard this attribute.
>
> Signed-off-by: Denis V. Lunev <den@...nvz.org>
-
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