summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/netlink.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/netlink.c b/src/netlink.c
index f75cef76..a62c3572 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -456,10 +456,8 @@ static int netlink_flush_rules(struct netlink_ctx *ctx, const struct handle *h,
strerror(errno));
ctx->data = h;
- mnl_batch_begin();
nft_rule_list_foreach(rule_cache, flush_rule_cb, ctx);
nft_rule_list_free(rule_cache);
- mnl_batch_end();
return 0;
}