netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nft PATCH v2 0/3] Resolve cache update woes
@ 2019-05-22 19:44 Phil Sutter
  2019-05-22 19:44 ` [nft PATCH v2 1/3] src: update cache if cmd is more specific Phil Sutter
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Phil Sutter @ 2019-05-22 19:44 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel, Eric Garver

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

-- 
2.21.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-24 20:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-22 19:44 [nft PATCH v2 0/3] Resolve cache update woes Phil Sutter
2019-05-22 19:44 ` [nft PATCH v2 1/3] src: update cache if cmd is more specific Phil Sutter
2019-05-24 16:58   ` Pablo Neira Ayuso
2019-05-22 19:44 ` [nft PATCH v2 2/3] libnftables: Keep list of commands in nft context Phil Sutter
2019-05-24 20:30   ` Eric Garver
2019-05-22 19:44 ` [nft PATCH v2 3/3] src: Restore local entries after cache update Phil Sutter
2019-05-24 20:30   ` Eric Garver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).