]> git.ipfire.org Git - thirdparty/nftables.git/commit
mnl: check for NLM_F_DUMP_INTR when dumping object lists
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 4 Jul 2014 10:24:46 +0000 (12:24 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 14 Jul 2014 10:30:43 +0000 (12:30 +0200)
commit09f81768090ffea1dbb0362950b0d5414c609436
tree05f388c6ebbbccab960bdb6e93ca8a03c299b860
parent654b51ab84cf10591eba1c443e6d65bf2de35c37
mnl: check for NLM_F_DUMP_INTR when dumping object lists

This flag allows to detect that an update has ocurred while dumping
any of the object lists. In case of interference, nft cancels the
netlink socket to skip processing the remaining stale entries and
it retries to obtain fresh list of objects.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/netlink.h
src/main.c
src/netlink.c
src/rule.c