lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <AANLkTikZAKZA9mfb7RjaqNFnX8gCM3A9PTfH350botL8@mail.gmail.com> Date: Sun, 20 Jun 2010 13:46:20 +0200 From: Kay Sievers <kay.sievers@...y.org> To: Johannes Berg <johannes@...solutions.net> Cc: "Eric W. Biederman" <ebiederm@...ssion.com>, Greg KH <greg@...ah.com>, netdev <netdev@...r.kernel.org> Subject: Re: [PATCH] Driver-core: Always create class directories fixing the broken network drivers. On Sun, Jun 20, 2010 at 13:33, Johannes Berg <johannes@...solutions.net> wrote: > On Sun, 2010-06-20 at 12:52 +0200, Kay Sievers wrote: > >> As mentioned earlier, It's pretty fragile to change things in this >> area, and I prefer the broken network driver-core interactions to be >> fixed instead - even when they are more complicated. > > Can you _please_ offer a proper way to fix it then? Sorry, I have no real experience with the issues created by the assumption that network driver need to be able to get unloaded while in use. That's very special, always requires a compiled-into-the-kernel part of the subsystem, and makes it hard to work with, as we can not use any of the usual core infrastructure to solve that. The only real simple thing that works is splitting the module in two modules, which isn't really something I would propose. Maybe the wait-for in the module-exit like your recent mail suggests works, but I did not try that. Otherwise we can solve this by changing the net driver and by adding some needed stuff to the core to allow in-core bus device cleanup. The class device hierarchy should be removed for proper network namespace support, it's nothing we properly support with the current core code. We better don't fiddle around with stuff nobody really knows what it breaks. Just like I ran into the 'input' stuff now, which was a really simple case to find. Kay -- 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