From: Patrick McHardy <kaber@trash.net>
To: pablo@netfilter.org
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH 0/3] nftables: fix segtree interval conflict reporting
Date: Fri, 7 Mar 2014 10:28:38 +0100 [thread overview]
Message-ID: <1394184521-11419-1-git-send-email-kaber@trash.net> (raw)
The following patches fix segtree interval conflict reporting. Currently
on a conflict a debug message is printed and the error is ignored. These
patches change this to output a proper error and abort.
Additionally the cases where an conflict is detected is fixed to ignore
cases when the data associated with two intervals is equal.
Patrick McHardy (3):
expr: make expr_binary_error() usable outside of evaluation
expr: add comparison function for singleton expressions
set: abort on interval conflicts
include/expression.h | 12 ++++++++----
src/ct.c | 6 ++++++
src/expression.c | 36 ++++++++++++++++++++++++++++++++++--
src/exthdr.c | 7 +++++++
src/meta.c | 6 ++++++
src/payload.c | 17 +++++++++++++----
src/rule.c | 5 +++--
src/segtree.c | 21 +++++++++++++++------
8 files changed, 92 insertions(+), 18 deletions(-)
next reply other threads:[~2014-03-07 9:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-07 9:28 Patrick McHardy [this message]
2014-03-07 9:28 ` [PATCH 1/3] expr: make expr_binary_error() usable outside of evaluation Patrick McHardy
2014-03-07 9:28 ` [PATCH 2/3] expr: add comparison function for singleton expressions Patrick McHardy
2014-03-07 9:28 ` [PATCH 3/3] set: abort on interval conflicts Patrick McHardy
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=1394184521-11419-1-git-send-email-kaber@trash.net \
--to=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.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 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).