All of lore.kernel.org
 help / color / mirror / Atom feed
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 12:55:28 +0200	[thread overview]
Message-ID: <4BD02B20.7070008@trash.net> (raw)
In-Reply-To: <alpine.LSU.2.01.1004220100530.6257@obet.zrqbmnf.qr>

Jan Engelhardt wrote:
> On Wednesday 2010-04-21 15:39, Patrick McHardy wrote:
>> Jan Engelhardt wrote:
>>> xt_condition can be used by userspace to influence decisions in rules
>>> by means of togglable variables without having to reload the entire
>>> ruleset.
>>> +
>>> +	var->refcount = 1;
>>> +	var->enabled  = false;
>>> +	var->status_proc->data = var;
>>> +	wmb();
>> Jan, while I'm pretty patient, I don't appreciate having to repeat
>> the same thing multiple times:
>>
>>>> Please always comment the use of memory barriers.
> 
> I am sorry I missed that; it seemed clear within the first 10 lines
> of your mail (which just quoted the patch) that I sent out the
> rcu-bugged variant and skipped the rest.
> 
> My share on the topic of patience - let me express that merges seemed
> to be processed faster in the rc1 week once a good-looking series was
> posted. As for maintenance, I think there should also be less
> turnarounds/resends. No doubt that tires out maintainers and
> bystanders alike looking at the same patch again and again.

That's not a big problem, I'd rather have a few more resends than
merge something buggy. I mainly would like submitters to be careful
about their patches. I usually review my own work multiple times
before sending it out since I know how easily something stupid can
slip in. Lets leave it at that :)

> Adding
> routing-by-oif could have easily be added as a patch on top, given it
> was a feature not a bugfix. 

Yeah, it was a bigger change than I anticipated.

> (N.B.: Where did iptables.git/extensions/libxt_TEE.c go? You asked for
> it, but it did not show up yet either.)

I used it for testing. As usual, it will be merged once the release
for the next kernel version is out. I don't want to go back to release
userspace parts for things which are not included in mainline yet.
That has bit us multiple times when we had to change the ABI.

  reply	other threads:[~2010-04-22 10:55 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 [this message]
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
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=4BD02B20.7070008@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.