netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Simon Lees <sflees@suse.de>
Cc: Firo Yang <firo.yang@suse.com>,
	"netfilter-devel@vger.kernel.org"
	<netfilter-devel@vger.kernel.org>,
	Simon Lees <SimonF.Lees@suse.com>
Subject: Re: [PATCH 1/2] ebtables: processing '--concurrent' beofore other arguments
Date: Tue, 6 Apr 2021 13:31:11 +0200	[thread overview]
Message-ID: <20210406113111.GA17543@salvia> (raw)
In-Reply-To: <d135ba6e-aa30-9a1d-136c-56a96aa10da6@suse.de>

[-- Attachment #1: Type: text/plain, Size: 2420 bytes --]

On Tue, Apr 06, 2021 at 08:51:30PM +0930, Simon Lees wrote:
> 
> 
> On 4/6/21 7:22 PM, Pablo Neira Ayuso wrote:
> > Hi,
> > 
> > On Tue, Apr 06, 2021 at 05:29:11PM +0930, Simon Lees wrote:
> >>
> >>
> >> On 4/6/21 12:27 PM, Firo Yang wrote:
> >>> The 04/03/2021 20:22, Pablo Neira Ayuso wrote:
> >>>> On Sat, Apr 03, 2021 at 08:15:17PM +0200, Pablo Neira Ayuso wrote:
> >>>>> Hi,
> >>>>>
> >>>>> On Thu, Apr 01, 2021 at 12:07:40PM +0800, Firo Yang wrote:
> >>>>>> 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.
> >>>>>>
> >>>>>> So we can fix this problem by processing it before other arguments.
> >>>>>
> >>>>> Would you instead make a patch to spew an error if --concurrent is the
> >>>>> first argument?
> >>>>
> >>>> Wrong wording:
> >>>>
> >>>> Would you instead make a patch to spew an error if --concurrent is
> >>>> _not_ the first argument?
> >>>
> >>> Hi Pablo, I think it would make more sense if we don't introduce this
> >>> inconvenice to users. If you insist, I would go create the patch as you
> >>> intended.
> >>
> >> Agreed, that also wouldn't be seen as a workable solution for us "SUSE"
> >> as our customers who may have scripts or documented processes where
> >> --concurrent is not first and such a change would be considered a
> >> "Change in behavior" as such we can't ship it in a bugfix or minor
> >> version update, only in the next major update and we don't know when
> >> that will be yet.
> >>
> >> Sure this is probably only a issue for enterprise distro's but such a
> >> change would likely inconvenience other users as well.
> > 
> > --concurrent has never worked away from the early positions ever.
> > 
> > What's the issue?
> 
> We had a customer complaining about the change in ordering causing
> different results with one way working and the other not, looking back
> at the report a second time I don't think they were ever using the "non
> working way" in production but just to debug the other issue.

Thanks for explaining, then I think we can go for the "restrict
position" fix which aligns with the -M, -t, ..., correct?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-04-06 11:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-01  4:07 [PATCH 0/2] Two fixes related to '--concurrent' Firo Yang
2021-04-01  4:07 ` [PATCH 1/2] ebtables: processing '--concurrent' beofore other arguments Firo Yang
2021-04-03 18:15   ` Pablo Neira Ayuso
2021-04-03 18:22     ` Pablo Neira Ayuso
2021-04-06  2:57       ` Firo Yang
2021-04-06  9:50         ` Pablo Neira Ayuso
     [not found]       ` <6cc20464d5814fe899d7fb1e21d5488c@DB8PR04MB5881.eurprd04.prod.outlook.com>
2021-04-06  7:59         ` Simon Lees
2021-04-06  9:52           ` Pablo Neira Ayuso
     [not found]           ` <64466cd69b054f5d803722dfbcf8c4be@DB8PR04MB5881.eurprd04.prod.outlook.com>
2021-04-06 11:21             ` Simon Lees
2021-04-06 11:31               ` Pablo Neira Ayuso [this message]
2021-04-06 11:56                 ` Firo Yang
2021-04-01  4:07 ` [PATCH 2/2] libebtc: Fix an issue that '--concurrent' doesn't work with NFS Firo Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210406113111.GA17543@salvia \
    --to=pablo@netfilter.org \
    --cc=SimonF.Lees@suse.com \
    --cc=firo.yang@suse.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=sflees@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).