From 2211679de2b4b828e7172cb8c392a80b9bf3108a Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 7 May 2018 13:35:49 +0200 Subject: xtables-compat: ebtables: support concurrent option We don't need extra locking as we don't go though rmw cycle when adding a rule, but accept the option for compatibility with legacy ebtables. Signed-off-by: Florian Westphal --- iptables/xtables-eb.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'iptables/xtables-eb.c') diff --git a/iptables/xtables-eb.c b/iptables/xtables-eb.c index 68a5e7ea..1a95eef4 100644 --- a/iptables/xtables-eb.c +++ b/iptables/xtables-eb.c @@ -1236,12 +1236,9 @@ big_iface_length: * executed in daemon mode */ /*replace->filename = (char *)malloc(strlen(optarg) + 1); strcpy(replace->filename, optarg); + break; */ + case 13 : break; - case 13 : *//* concurrent */ - /*signal(SIGINT, sighandler); - signal(SIGTERM, sighandler); - use_lockfd = 1; - break;*/ case 1 : if (!strcmp(optarg, "!")) ebt_check_inverse2(optarg, argc, argv); -- cgit v1.2.3