From d6a127cd5710f8c60e95bfd0378ca352c07140a9 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 18 Sep 2013 17:00:18 +0200 Subject: xtables: batch rule-set updates into one single netlink message With this patch, all rule-set updates are put in one single batch of netlink messages that is sent to user-space using the new nfnetlink batch infrastructure. Signed-off-by: Pablo Neira Ayuso --- iptables/xtables-arp-standalone.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'iptables/xtables-arp-standalone.c') diff --git a/iptables/xtables-arp-standalone.c b/iptables/xtables-arp-standalone.c index 186c9a1e..8d4679f1 100644 --- a/iptables/xtables-arp-standalone.c +++ b/iptables/xtables-arp-standalone.c @@ -81,6 +81,8 @@ int xtables_arp_main(int argc, char *argv[]) #endif ret = do_commandarp(&h, argc, argv, &table); + if (ret) + ret = nft_commit(&h); exit(!ret); } -- cgit v1.2.3