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