Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
ebtables
0002-fix-concurrent-and-nfs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-fix-concurrent-and-nfs.patch of Package ebtables
From: Firo Yang @ 2021-04-16 4:11 UTC (permalink / raw) To: pablo, netfilter-devel; +Cc: sflees, firogm, Firo Yang Our customer reported a following issue: If '--concurrent' was passed to ebtables command behind other arguments, '--concurrent' will not take effect sometimes; for a simple example, ebtables -L --concurrent. This is becuase the handling of '--concurrent' is implemented in a passing-order-dependent way. Fixed this problem as Pablo Neira Ayuso suggested by simply spewing an error like following: ./ebtables-legacy -L --concurrent Please put the --concurrent option first. Signed-off-by: Firo Yang <firo.yang@suse.com> --- ebtables.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ebtables.c b/ebtables.c index f7dfccf..c1f5c2b 100644 --- a/ebtables.c +++ b/ebtables.c @@ -1041,6 +1041,8 @@ big_iface_length: strcpy(replace->filename, optarg); break; case 13 : /* concurrent */ + if (OPT_COMMANDS) + ebt_print_error2("Please put the --concurrent option first"); use_lockfd = 1; break; case 1 : -- 2.30.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor