From: Patrick McHardy <kaber@trash.net>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH] netfilter: xtables: inclusion of xt_condition
Date: Thu, 22 Apr 2010 13:29:55 +0200 [thread overview]
Message-ID: <4BD03333.3080705@trash.net> (raw)
In-Reply-To: <alpine.LSU.2.01.1004221320300.1232@obet.zrqbmnf.qr>
Jan Engelhardt wrote:
> On Thursday 2010-04-22 13:14, Patrick McHardy wrote:
>
>>> +static struct xt_match condition_mt_reg __read_mostly = {
>>> + .name = "condition",
>>> + .revision = 1,
>> Why are we starting with revision 1?
>
> So as to avoid collisions with previously-deployed extensions.
>
> Debian once decided to patch their etch 2.6.18 kernel with
> ipt_connlimit ("connlimit.0"). That subsequently backfired with the
> etchnhalf upgrade where xt_connlimit (also known as "connlimit.0")
> was introduced.
>
> condition.0 was used by pom-ng.
>
> For the same reason, xt_TEE-2.6.35 starts with TEE.1, because TEE.0
> is already in use by the variant without oif in struct xt_tee_tginfo;
> i.e. all the Xtables-addons installations to date, basically.
>
> It is not a particularl hardship to pick a revision number that is
> distinct from all revision numbers previously seen in the wild, so
> I'm set to go this way.
Fair enough, I guess we don't have to fear running out of revisions :)
Thanks for the explanation.
next prev parent reply other threads:[~2010-04-22 11:30 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-21 13:33 nf-next: condition Jan Engelhardt
2010-04-21 13:33 ` [PATCH] netfilter: xtables: inclusion of xt_condition Jan Engelhardt
2010-04-21 13:39 ` Patrick McHardy
2010-04-22 0:05 ` Jan Engelhardt
2010-04-22 10:55 ` Patrick McHardy
2010-04-22 11:14 ` Patrick McHardy
2010-04-22 11:24 ` Patrick McHardy
2010-04-22 11:27 ` Jan Engelhardt
2010-04-22 11:29 ` Patrick McHardy [this message]
2010-04-22 11:33 ` Jan Engelhardt
-- strict thread matches above, loose matches on Subject: below --
2010-07-16 11:10 Luciano Coelho
2010-07-16 11:20 ` Jan Engelhardt
2010-07-16 11:31 ` Luciano Coelho
2010-07-16 11:54 ` Jan Engelhardt
2010-07-16 12:16 ` Luciano Coelho
2010-07-16 19:14 ` Jan Engelhardt
2010-07-17 6:32 Luciano.Coelho
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=4BD03333.3080705@trash.net \
--to=kaber@trash.net \
--cc=jengelh@medozas.de \
--cc=netfilter-devel@vger.kernel.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.