Re: [PATCH] remove __net_initdata attribute

2007-10-26 Thread David Miller
From: "Denis V. Lunev" <[EMAIL PROTECTED]> Date: Fri, 26 Oct 2007 15:28:32 +0400 > 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 NO

Re: [PATCH] remove __net_initdata attribute

2007-10-26 Thread David Miller
From: "Denis V. Lunev" <[EMAIL PROTECTED]> Date: Fri, 26 Oct 2007 13:56:52 +0400 > 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. > > Signe

Re: [PATCH] remove __net_initdata attribute

2007-10-26 Thread Denis V. Lunev
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 :) Than