[PATCH 0/4] nftables: bitmask and prefix fixes

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

 



These patches fix a problem with bitmask types outside of a flag comparison
noticed by Florian, as well as a couple of bugs in related areas:

- always use FLAGCMP op if RHS of a relational expression has basetype bitmask
- add parens in output of binops when necessary
- fix netlink prefix expression handling

Unless there are objections, I'll push them shortly.


Patrick McHardy (4):
      evaluate: use flagcmp for single RHS bitmask expression
      binop: take care of operator precedence when printing binop arguments
      netlink_delinarize: convert *all* bitmask values into individual bit values
      netlink: fix prefix expression handling

 include/expression.h      |   8 ++++
 src/evaluate.c            |   6 ++-
 src/expression.c          |  88 +++++++++++++++++++++++++++++++++++++--
 src/netlink.c             |  27 ------------
 src/netlink_delinearize.c | 104 ++++++++++++++++++++++++++--------------------
 src/netlink_linearize.c   |  11 ++++-
 6 files changed, 165 insertions(+), 79 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