From: Florian Westphal Date: Mon, 7 May 2018 11:35:49 +0000 (+0200) Subject: xtables-compat: ebtables: support concurrent option X-Git-Tag: v1.8.0~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2211679de2b4b828e7172cb8c392a80b9bf3108a;p=thirdparty%2Fiptables.git 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 --- 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);