All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Massimiliano Hofer <max@nucleus.it>, netfilter-devel@lists.netfilter.org
Subject: Re: [PATCH] entry_data
Date: Tue, 20 Jun 2006 03:39:08 +0200	[thread overview]
Message-ID: <449751BC.6050808@trash.net> (raw)
In-Reply-To: <44973529.50600@netfilter.org>

Pablo Neira Ayuso wrote:
> Massimiliano Hofer wrote:
> 
>> You're right, but I modified the kernel side of a union and I was
>> careful not to change the total size. This union is never really used
>> by both sides simultaneously.
> 
> 
> Indeed, you're right, I can't see any problem with your patch at this
> moment. Although apart from the out of tree xt_condition match, there is
> no other clients for entry_data. I'd like to know what Patrick thinks
> about this.

Actually there are quite a few things that can benefit from this
(see also my other mail to netfilter-devel). Stateful matches like
limit, quota, statistic can store their state in externally allocated
memory and remove all the state and the pointers from the structure
shared with userspace. hashlimit, recent and other matches that lookup
global state can just keep a reference to it without affecting
userspace visible structures. Besides it is in my opinion a major
limitation of the iptables API that it doesn't cleanly support
per-instance state, so I'm quite supportive of this patch :)

  reply	other threads:[~2006-06-20  1:39 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-04 22:29 [PATCH] entry_data Massimiliano Hofer
2006-06-11 23:19 ` Massimiliano Hofer
2006-06-12  9:50   ` Pablo Neira Ayuso
2006-06-12 12:45     ` Massimiliano Hofer
2006-06-13 15:19       ` Pablo Neira Ayuso
2006-06-13 20:56         ` Massimiliano Hofer
2006-06-19  0:15           ` Pablo Neira Ayuso
2006-06-19  7:02             ` Massimiliano Hofer
2006-06-19 23:37               ` Pablo Neira Ayuso
2006-06-20  1:39                 ` Patrick McHardy [this message]
2006-06-14  9:03 ` Sven Anders
2006-06-17 22:55   ` Massimiliano Hofer
2006-06-19 17:45     ` Patrick McHardy
2006-06-19 23:05       ` Massimiliano Hofer
2006-06-20  1:29         ` Patrick McHardy
2006-06-19 17:34   ` Patrick McHardy
2006-06-19 22:35     ` Massimiliano Hofer
2006-06-19 23:13       ` Patrick McHardy
2006-06-20 11:25         ` Massimiliano Hofer
2006-06-20 13:17           ` Patrick McHardy
2006-06-21  0:03             ` [PATCH] priv_data (formerly entry_data) Massimiliano Hofer
2006-06-21  0:30               ` Patrick McHardy
2006-06-21  0:45                 ` Massimiliano Hofer
2006-06-21  1:04                   ` Patrick McHardy
2006-06-21  8:31                     ` Massimiliano Hofer
2006-06-21 23:50                 ` Massimiliano Hofer
2006-06-22 15:18                   ` Patrick McHardy
2006-06-21  0:33               ` Massimiliano Hofer
2006-06-21  0:42                 ` Massimiliano Hofer

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=449751BC.6050808@trash.net \
    --to=kaber@trash.net \
    --cc=max@nucleus.it \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=pablo@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.