Skip to content

Set: Do not print unset value

Ana Rey netfilter-devel 1 version Applied

Status from this message: Applied, thanks Ana.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5src: set: Use nft_rule_expr_set_* in the xml parsing codesrc/set.c src/set_elem.c+21 -351 reply
2/5src: set: Do not print unset values in xmlsrc/set.c src/set_elem.c+72 -402 replies
3/5src: set: Do not print unset values in jsonsrc/jansson.c src/set.c src/set_elem.c+61 -381 reply
4/5src: set: Free memory in the same function that is reserved.src/set.c+10 -111 reply
5/5tests: xmlfile: Test files without unset child elements in set elementstests/xmlfiles/73-set.xml tests/xmlfiles/74-set.xml tests/xmlfiles/75-ruleset.xml+2 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [libnftnl PATCH 0/5] Set: Do not print unset value

This patchset do task about does not print unset value in xml and json file and about refactoring code: "Use nft_rule_expr_set_* in the xml parsing code" Also, It add test files that is need to be modificated to these patch and It fixes a leak memory.

Ana Rey (5):
src: set: Use nft_rule_expr_set_* in the xml parsing code
src: set: Do not print unset values in xml
src: set: Do not print unset values in json
src: set: Free memory in the same function that is reserved.
tests: xmlfile: Test files without unset child elements in set
elements

 src/jansson.c                 |  12 +--
 src/set.c                     | 208 +++++++++++++++++++++++++-----------------
 src/set_elem.c                |  50 +++++-----
 tests/xmlfiles/73-set.xml     |   2 +-
 tests/xmlfiles/74-set.xml     |   2 +-
 tests/xmlfiles/75-ruleset.xml |   2 +-
 6 files changed, 158 insertions(+), 118 deletions(-)
Signature · 1 line
2.0.0