[PATCH 0/3] nftables: fix segtree interval conflict reporting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux