Phil Sutter 3eb775c5e6 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 <psutter@redhat.com>
2023-07-20 11:34:02 +02:00
..
2023-03-13 22:27:21 +00:00
2023-03-24 21:04:39 +01:00
2023-03-02 11:06:22 +01:00
2023-03-13 17:59:41 +01:00
2023-03-13 17:59:41 +01:00

This document has moved to the containernetworking/cni.dev repo.

You can find it online here: https://cni.dev/plugins/current/meta/portmap/