All of lore.kernel.org
 help / color / mirror / Atom feed
* priv_data patch
@ 2006-08-14 13:34 Patrick McHardy
  2006-08-14 14:25 ` Joakim Axelsson
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Patrick McHardy @ 2006-08-14 13:34 UTC (permalink / raw)
  To: Massimiliano Hofer; +Cc: Netfilter Development Mailinglist

I'm afraid I have some bad news ..

While merging the priv_data patch I noticed an oversight. Currently,
when modifying the ruleset, all modules dump their entire state
(user configuration + internal state kept in the same structure)
to userspace, which will return it to the kernel. That means for
example that the limit match will not loose its current state when
modifying other rules. When we move the state out of the data shared
with userspace this can't be done anymore, so each modification to
the table will cause all modules to loose their current state, even
if they we're not directly affected by the change. We can't break
this behaviour, so this limits potential users of the priv_data stuff
to things like hashlimit or recent, which do a lookup of state stored
completely external from the ruleset (and could use it to cache the
lookup result). I don't think that this is worth it, we probably need
to wait until we have a better userspace interface before we can do
something like this ..

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2006-08-15  8:40 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-14 13:34 priv_data patch Patrick McHardy
2006-08-14 14:25 ` Joakim Axelsson
2006-08-14 14:31   ` Patrick McHardy
2006-08-14 15:20     ` Joakim Axelsson
2006-08-14 15:28       ` Patrick McHardy
2006-08-14 16:04         ` Joakim Axelsson
2006-08-14 16:13           ` Patrick McHardy
2006-08-14 16:55             ` Joakim Axelsson
2006-08-14 16:59               ` Patrick McHardy
2006-08-15  8:27               ` Amin Azez
2006-08-15  8:40                 ` Joakim Axelsson
2006-08-14 15:31       ` Patrick McHardy
2006-08-14 15:40         ` Joakim Axelsson
2006-08-14 15:46           ` Patrick McHardy
2006-08-14 15:56             ` Joakim Axelsson
2006-08-14 16:01               ` Patrick McHardy
2006-08-14 16:13                 ` Joakim Axelsson
2006-08-14 16:26                   ` Patrick McHardy
2006-08-14 16:40                     ` Joakim Axelsson
2006-08-14 16:50                       ` Patrick McHardy
2006-08-14 17:11                         ` Joakim Axelsson
2006-08-14 17:48                           ` Patrick McHardy
2006-08-14 17:59                             ` Joakim Axelsson
2006-08-14 15:53       ` Massimiliano Hofer
2006-08-14 14:40 ` Massimiliano Hofer
2006-08-14 14:48   ` Patrick McHardy
2006-08-14 14:58     ` Joakim Axelsson
2006-08-14 15:05       ` Patrick McHardy
2006-08-14 16:19     ` Massimiliano Hofer
2006-08-14 16:32       ` Joakim Axelsson
     [not found] ` <200608141557.35918.max@nucleus.it>
     [not found]   ` <44E08AC7.2050204@trash.net>
     [not found]     ` <200608141702.50753.max@nucleus.it>
2006-08-14 15:14       ` Patrick McHardy

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.