From: Rusty Russell <rusty@rustcorp.com.au>
To: "Adam J. Richter" <adam@yggdrasil.com>
Cc: linux-kernel@vger.kernel.org, vandrove@vc.cvut.cz, zippel@linux-m68k.org
Subject: Re: Modules with list
Date: Wed, 27 Nov 2002 09:40:29 +1100 [thread overview]
Message-ID: <20021126230116.123E82C480@lists.samba.org> (raw)
In-Reply-To: Your message of "Mon, 25 Nov 2002 22:49:35 -0800." <200211260649.WAA22216@adam.yggdrasil.com>
In message <200211260649.WAA22216@adam.yggdrasil.com> you write:
> >TCP for example, sets the destructor function for the skb. It can be
> >called an arbitrary time later. Netfilter modules do a similar thing,
> >for similar reasons. You'd better grab a reference to *something*.
>
> The ->remove() function of a network device driver will
> not return until it has freed all receive skb's that it allocated
> and all transmit skb's that were passed to its transmit function.
I'm not talking about a device driver, but modularizing the IPv4
stack.
> >This would only happen if someone says "rmmod --wait".
As I realized last night after I wrote this, there is a bug in
module.c. If O_NONBLOCK is specified, we shouldn't drop the module
sempaphore at all, for exactly this reason. A bug I introduced while
"cleaning up" the "--wait" path.
Sorry for the confusion.
> I think of people would consider it to be progress to have
> non-removable modular IP, which what I run, but I digress again.
Non-removable is easy. It's now possible to do removable IPv4 and
IPv6, which was kind of the point of the exercise.
Hope that helps,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
next prev parent reply other threads:[~2002-11-26 22:53 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-26 6:49 Modules with list Adam J. Richter
2002-11-26 22:40 ` Rusty Russell [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-29 8:23 Adam J. Richter
2002-11-28 1:54 Adam J. Richter
2002-11-28 0:25 Adam J. Richter
2002-11-28 23:53 ` Rusty Russell
2002-11-27 19:04 Adam J. Richter
2002-11-27 18:19 Adam J. Richter
2002-11-27 22:42 ` Keith Owens
2002-11-27 7:22 Adam J. Richter
2002-11-27 23:15 ` Rusty Russell
2002-11-27 7:01 Adam J. Richter
2002-11-26 16:18 Adam J. Richter
2002-11-27 17:05 ` Kai Germaschewski
2002-11-26 6:53 Adam J. Richter
2002-11-26 4:06 Adam J. Richter
2002-11-26 5:04 ` Rusty Russell
2002-11-25 22:39 Adam J. Richter
2002-11-25 22:11 Adam J. Richter
2002-11-26 0:35 ` Rusty Russell
2002-11-26 7:57 ` Ingo Oeser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021126230116.123E82C480@lists.samba.org \
--to=rusty@rustcorp.com.au \
--cc=adam@yggdrasil.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vandrove@vc.cvut.cz \
--cc=zippel@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox