* modifications for SMP processor
@ 2004-08-03 14:56 laurent Schweizer
2004-08-04 7:45 ` Lukas Ruf
0 siblings, 1 reply; 4+ messages in thread
From: laurent Schweizer @ 2004-08-03 14:56 UTC (permalink / raw)
To: netfilter-devel
Hello,
I am writing a target for iptables.
My target has a table and I see that it is not working correctly on SMP
processor.
I want to know which modifications I must make, or where I can find an
example.
Thanks
Laurent
^ permalink raw reply [flat|nested] 4+ messages in thread
* modifications for SMP processor
@ 2004-08-03 15:36 laurent Schweizer
2004-08-04 11:11 ` Pablo Neira
0 siblings, 1 reply; 4+ messages in thread
From: laurent Schweizer @ 2004-08-03 15:36 UTC (permalink / raw)
To: netfilter-devel
Hello,
I am writing a target for iptables.
My target has a table and I see that it is not working correctly on SMP
processor.
I want to know which modifications I must make, or where I can find an
example.
Thanks
Laurent
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: modifications for SMP processor
2004-08-03 14:56 laurent Schweizer
@ 2004-08-04 7:45 ` Lukas Ruf
0 siblings, 0 replies; 4+ messages in thread
From: Lukas Ruf @ 2004-08-04 7:45 UTC (permalink / raw)
To: laurent Schweizer; +Cc: netfilter development
> laurent Schweizer <laurent@eriservice.ch> [2004-08-04 05:20]:
>
> I am writing a target for iptables. My target has a table and I see
> that it is not working correctly on SMP processor. I want to know
> which modifications I must make, or where I can find an example.
>
what is the exact problem?
Is it a problem with your target?
Or do you believe it's a problem with iptables?
wbr,
Lukas
--
Lukas Ruf | Wanna know anything about raw |
<http://www.lpr.ch> | IP? -> <http://www.rawip.org> |
eMail Style Guide: <http://www.rawip.org/style.html>|
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: modifications for SMP processor
2004-08-03 15:36 modifications for SMP processor laurent Schweizer
@ 2004-08-04 11:11 ` Pablo Neira
0 siblings, 0 replies; 4+ messages in thread
From: Pablo Neira @ 2004-08-04 11:11 UTC (permalink / raw)
To: laurent Schweizer, Netfilter Development Mailinglist
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-08-04 11:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-03 15:36 modifications for SMP processor laurent Schweizer
2004-08-04 11:11 ` Pablo Neira
-- strict thread matches above, loose matches on Subject: below --
2004-08-03 14:56 laurent Schweizer
2004-08-04 7:45 ` Lukas Ruf
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.