summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-06-20 22:12:26 (GMT)
committerPablo Neira Ayuso <pablo@netfilter.org>2016-06-24 09:03:27 (GMT)
commit8eee54be73f4b938dbf48e95c0dbecb5f19b08ee (patch)
tree7e7be64d7f5e73d182327df710430ec37e5ee18b /include/net
parent4e5001651f5e488eac378ebabc5bde2a8f1ea861 (diff)
downloadlinux-8eee54be73f4b938dbf48e95c0dbecb5f19b08ee.tar.xz
netfilter: nft_hash: support deletion of inactive elements
New elements are inactive in the preparation phase, and its NFT_SET_ELEM_BUSY_MASK flag is set on. This busy flag doesn't allow us to delete it from the same transaction, following a sequence like: begin transaction add element X delete element X end transaction This sequence is valid and may be triggered by robots. To resolve this problem, allow deactivating elements that are active in the current generation (ie. those that has been just added in this batch). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions