commit | 23b7ca4f745f21c2b9cfcb67fdd33733b3ae7e66 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Feb 15 12:50:24 2019 +0100 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Feb 15 15:32:32 2019 +0100 |
tree | 2a46afb0992d641ec31b74b905ce31da81bf2dd4 | |
parent | f9bcc9f3ee4fbbe8f11dfec76745476f5780517e [diff] |
netfilter: nf_tables: fix flush after rule deletion in the same batch Flush after rule deletion bogusly hits -ENOENT. Skip rules that have been already from nft_delrule_by_chain() which is always called from the flush path. Fixes: cf9dc09d0949 ("netfilter: nf_tables: fix missing rules flushing per table") Reported-by: Phil Sutter <phil@nwl.cc> Acked-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>