]> git.ipfire.org Git - thirdparty/nftables.git/commit
cache: provide a empty list for flowtables and objects when request fails
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 25 Aug 2021 13:46:20 +0000 (15:46 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 26 Aug 2021 08:35:23 +0000 (10:35 +0200)
commit058a943cefbdde9aee273115624de27cf15dd3f3
treec44e60552eca5a190c96fa120b4239193f565360
parentecd19f46056ba7b5c29160c4b455d077217dec56
cache: provide a empty list for flowtables and objects when request fails

Old kernels do not support for dumping the flowtable and object lists,
provide an empty list instead to unbreak the cache initialization.

Fixes: 560963c4d41e ("cache: add hashtable cache for flowtable")
Fixes: 45a84088ecbd ("cache: add hashtable cache for object")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/cache.c