Skip to content

Resolve cache update woes

Phil Sutter netfilter-devel 2 versions – Applied

Status from this message: Applied this one, thanks Phil and Eric.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- As suggested by Eric, I took his patch and folded my enhancement (former patch 1) into his one.
- Changed patch 3 to include Eric's fix.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3src: update cache if cmd is more specificinclude/nftables.h src/rule.c tests/shell/testcases/cache/0003_cache_update_0+35 -01 reply
2/3libnftables: Keep list of commands in nft contextinclude/nftables.h src/libnftables.c+11 -111 reply
3/3src: Restore local entries after cache updatesrc/rule.c+73 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchEric Garver
1/3
2/3A-b
3/3A-b

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

Read the v2 thread

Cover letter [nft PATCH v2 0/3] Resolve cache update woes

This series implements a fix for situations where a cache update removes local (still uncommitted) items from cache leading to spurious errors afterwards.

Changes since v1:
- As suggested by Eric, I took his patch and folded my enhancement (former patch 1) into his one.
- Changed patch 3 to include Eric's fix.

Eric Garver (1):
src: update cache if cmd is more specific

Phil Sutter (2):
libnftables: Keep list of commands in nft context
src: Restore local entries after cache update

 include/nftables.h                            |  2 +
 src/libnftables.c                             | 21 ++---
 src/rule.c                                    | 93 +++++++++++++++++++
 .../shell/testcases/cache/0003_cache_update_0 | 14 +++
 4 files changed, 119 insertions(+), 11 deletions(-)
Signature · 1 line
2.21.0