From: Pablo Neira <pablo@eurodev.net>
To: laurent Schweizer <laurent.schweizer@eivd.ch>,
Netfilter Development Mailinglist
<netfilter-devel@lists.netfilter.org>
Subject: Re: modifications for SMP processor
Date: Wed, 04 Aug 2004 13:11:39 +0200 [thread overview]
Message-ID: <4110C46B.6000100@eurodev.net> (raw)
In-Reply-To: <PAEMKCJPEJFAMHHIJGBOCELBMLAB.laurent.schweizer@eivd.ch>
Hi Laurent,
laurent Schweizer wrote:
>I am writing a target for iptables.
>
>My target has a table and I see that it is not working correctly on SMP
>processor.
>
>
well, that's not enough info. Anyway, if all iptables rules are sharing
that table (I mean that table is defined inside the target as a global
var), I guess that you need reader/writer lock.
On the other hand, if the table is inside the target's private
information, that's different... you should have a look at ipt_limit.c
for a reference.
>I want to know which modifications I must make, or where I can find an
>example.
>
>
Robert Love has written a good article about this:
http://www.linuxjournal.com/article.php?sid=5833
Check out also Rusty's unreliable guide for locking in the kernel.
regards,
Pablo
next prev parent reply other threads:[~2004-08-04 11:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-03 15:36 modifications for SMP processor laurent Schweizer
2004-08-04 11:11 ` Pablo Neira [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-08-03 14:56 laurent Schweizer
2004-08-04 7:45 ` Lukas Ruf
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=4110C46B.6000100@eurodev.net \
--to=pablo@eurodev.net \
--cc=laurent.schweizer@eivd.ch \
--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.