netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] nftables: fix segtree interval conflict reporting
@ 2014-03-07  9:28 Patrick McHardy
  2014-03-07  9:28 ` [PATCH 1/3] expr: make expr_binary_error() usable outside of evaluation Patrick McHardy
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Patrick McHardy @ 2014-03-07  9:28 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel

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(-)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-07  9:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-07  9:28 [PATCH 0/3] nftables: fix segtree interval conflict reporting Patrick McHardy
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

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).