Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugins: meta: portmap: Implement a teardown() fast path
Just attempt to delete the known rules referring to the custom chain, then flush and delete it. If the latter succeeds, no referencing rules are left and the job is done. If the final flush'n'delete fails, fall back to the referencing rule search which is slow with large rulesets. Signed-off-by: Phil Sutter <[email protected]>
- Loading branch information