Skip to content

cache updates

Pablo Neira Ayuso netfilter-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 5 repliesIn review
  2. v15 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7cache: reset filter for each commandsrc/cache.c+6 -20 replies
2/7cache: accumulate flags in batchsrc/cache.c+7 -50 replies
3/7cache: add filtering support for objectsinclude/cache.h src/cache.c+89 -130 replies
4/7cache: only dump rules for the given tablesrc/cache.c+1 -10 replies
5/7cache: consolidate reset commandinclude/cache.h include/netlink.h src/cache.c +6 more+78 -1713 replies
6/7tests: shell: cover anonymous set with reset commandtests/shell/testcases/rule_management/0011reset_0+21 -00 replies
7/7tests: shell: cover reset command with counter and quotatests/shell/testcases/listing/reset_objects+104 -00 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchEric Garver
SeriesT-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH nft,v2 0/7] cache updates

Hi,

The following patchset contains cache updates for nft:

Patch #1 resets filtering for each new command

Patch #2 accumulates cache flags for each command, recent patches are
relaxing cache requirements which could uncover bugs.

Patch #3 updates objects to use the netlink dump filtering infrastructure

	 to build the cache (

Patch #4 only dumps rules for the given table

Patch #5 updates reset commands to use the cache infrastructure

Patch #6 and #7 extend tests coverage for reset commands.

Pablo Neira Ayuso (7):
cache: reset filter for each command
cache: accumulate flags in batch
cache: add filtering support for objects
cache: only dump rules for the given table
cache: consolidate reset command
tests: shell: cover anonymous set with reset command
tests: shell: cover reset command with counter and quota

 include/cache.h                               |  12 +-
 include/netlink.h                             |   5 -
 src/cache.c                                   | 201 ++++++++++++++----
 src/evaluate.c                                |   2 +
 src/mnl.c                                     |   7 +-
 src/netlink.c                                 |  78 -------
 src/parser_bison.y                            |   8 +-
 src/rule.c                                    |  48 +----
 tests/shell/testcases/listing/reset_objects   | 104 +++++++++
 .../testcases/rule_management/0011reset_0     |  31 ++-
 10 files changed, 305 insertions(+), 191 deletions(-)
 create mode 100755 tests/shell/testcases/listing/reset_objects
Signature · 1 line
2.30.2