All of lore.kernel.org
 help / color / mirror / Atom feed
From: Massimiliano Hofer <max@nucleus.it>
To: netfilter-devel@lists.netfilter.org
Cc: Patrick McHardy <kaber@trash.net>
Subject: Re: netfilter support for entry data
Date: Mon, 29 May 2006 01:03:39 +0200	[thread overview]
Message-ID: <200605290103.39778.max@nucleus.it> (raw)
In-Reply-To: <447705B9.4080809@trash.net>

On Friday 26 May 2006 3:42 pm, Patrick McHardy wrote:

> Yes, sorry for not responding earlier.

Don't worry, I've been busy anyway.

> > We could minimize impact on the existing code introducing a "normal" and
> > an "extended" match funciton prototype, but this would crete complexity
> > and its only purpose is if we don't want to upgrade everything.
>
> Your goals are definitely worthwhile, but if we find a working solution
> we should just convert everything.

OK. In a few days I'll post a patch that adds the new functionality to the 
core of netfilter and another patch that upgrades all mainline matches.

If you like it, it will be easy to adapt all existing out of mainline matches. 
If this causes an uproar I can create a compatibility patch, but I wouldn't 
like it to be long lived.

> We try not to unreasonably reject good patches :) In this case however
> the patch breaks userspace compatibility (xt_entry_match is also used
> by userspace), so this isn't possible.

Ops... I didn't read much of the userspace code and didn't realize it. I would 
have realized it soon after starting, but you saved me time and trouble.

> Mhh .. thinking about it some more, we might be able to squeeze it
> into the u.kernel part, there should be enough room left in there.

You are right. We should have at least 20 bytes (depending on architecture) 
there. Putting important pointers in a union just to share a struct with 
userspace feels a bit weird, but is definitely feasible.
I'll follow your advice.

-- 
Bye,
   Massimiliano Hofer

      reply	other threads:[~2006-05-28 23:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-25 22:19 netfilter supporto for entry data Massimiliano Hofer
2006-05-26 13:42 ` Patrick McHardy
2006-05-28 23:03   ` Massimiliano Hofer [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=200605290103.39778.max@nucleus.it \
    --to=max@nucleus.it \
    --cc=kaber@trash.net \
    --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.