From: Emmanuel Guiton <emmanuel@netlab.hut.fi>
To: netfilter-devel@lists.netfilter.org
Subject: Re: My first target module is a fiasco.
Date: Mon, 15 Dec 2003 17:48:54 +0200 [thread overview]
Message-ID: <3FDDD7E6.703@netlab.hut.fi> (raw)
In-Reply-To: 3FDDD4FD.6080204@balabit.hu
Hi,
KOVACS Krisztian wrote:
>
> Could you show us the code of the init function, and the static
> structure it registers? However, it looks like the kernel thinks your
> module failed to load (its __init function did not return 0), however,
> it has successfully registered its target... This is bad, since the
> memory allocated for your module is freed when your __init function
> returns any value other than zero.
Zero... Do you mean that "return 0;" at the end of my __init function is
more appropriate than the current "return 1;"? :)
Well, I must admit that it works better like that... :) Thanks.
Emmanuel
prev parent reply other threads:[~2003-12-15 15:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-15 15:21 My first target module is a fiasco Emmanuel Guiton
2003-12-15 15:36 ` KOVACS Krisztian
2003-12-15 15:48 ` Emmanuel Guiton [this message]
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=3FDDD7E6.703@netlab.hut.fi \
--to=emmanuel@netlab.hut.fi \
--cc=netfilter-devel@lists.netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.