From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Xin Long <lucien.xin@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [ISSUE] nftables: !=range doesn't really work
Date: Sun, 24 Jul 2016 12:58:41 +0200 [thread overview]
Message-ID: <20160724105841.GB17882@salvia> (raw)
In-Reply-To: <CADvbK_e1GPX+jBDfDgAAppYaT-51HEpVxqr7ssC1O+Yf02QKJA@mail.gmail.com>
Hi,
On Sun, Jul 24, 2016 at 04:17:49PM +0800, Xin Long wrote:
> nftable transform 'x !=a-b' in wrong way:
> cmp x < a
> cmp x > b
>
> which means x has to be x<a && x>b.
> but it should be x<a || x>b.
>
> It seems that the vm system in kernel is too simple and fast
> to provide some expr or process for this case, afaics.
>
> does upstream have been preparing some fix for this ?
Will be sending a fix for this asap.
prev parent reply other threads:[~2016-07-24 10:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-24 8:17 [ISSUE] nftables: !=range doesn't really work Xin Long
2016-07-24 10:58 ` Pablo Neira Ayuso [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=20160724105841.GB17882@salvia \
--to=pablo@netfilter.org \
--cc=lucien.xin@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).