Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 14 Feb 2003 19:02:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 14 Feb 2003 19:02:48 -0500 Received: from almesberger.net ([63.105.73.239]:8975 "EHLO host.almesberger.net") by vger.kernel.org with ESMTP id ; Fri, 14 Feb 2003 19:02:44 -0500 Date: Fri, 14 Feb 2003 21:12:26 -0300 From: Werner Almesberger To: Roman Zippel Cc: Rusty Russell , kuznet@ms2.inr.ac.ru, davem@redhat.com, kronos@kronoz.cjb.net, linux-kernel@vger.kernel.org Subject: Re: [RFC] Migrating net/sched to new module interface Message-ID: <20030214211226.I2092@almesberger.net> References: <20030214120628.208112C464@lists.samba.org> <20030214105338.E2092@almesberger.net> <20030214153039.G2092@almesberger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from zippel@linux-m68k.org on Fri, Feb 14, 2003 at 09:09:18PM +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1061 Lines: 33 Roman Zippel wrote: > Step one is still to understand the problem. I described a very real > problem, once this problem is solved (which can be done in different > ways), I though we were talking about static data_used_by_callbacks; ... register_foo(&stuff_with_callbacks); ... unregister_foo(&stuff_with_callbacks); make_unusable(&data_used_by_callbacks) ... /* oops, we just got a callback */ ("data_used_by_callbacks" could be a pointer to kmalloc'ed memory, etc.) This kind of problem seems to be understood well enough. But maybe you mean something else ? - Werner -- _________________________________________________________________________ / Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net / /_http://www.almesberger.net/____________________________________________/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/