diff options
author | Jindrich Makovicka <makovick@gmail.com> | 2020-05-02 13:52:06 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-09-14 13:47:37 +0200 |
commit | 371d32c63b892605b2baa6742234f6974ad59dcc (patch) | |
tree | cb443767dea1eb97de08f0065af37fa04c42e91b /tests/py/nft-test.py | |
parent | fc0138b9ec8a2780cd59f31927abab896f6836c3 (diff) |
libnftables: avoid repeated command list traversal on errors
Because the command seqnums are monotonic, repeated traversals
of the cmds list from the beginning are not necessary as long as
the error seqnums are also monotonic.
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/nft-test.py')
0 files changed, 0 insertions, 0 deletions