All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Alakesh Haloi <alakeshh@amazon.com>
Cc: Florian Westphal <fw@strlen.de>,
	Pablo Neira Ayuso <pablo@netfilter.org>,
	Greg KH <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org,
	Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: [PATCH] netfilter: xt_connlimit: fix race in connection counting
Date: Tue, 27 Nov 2018 23:38:47 +0100	[thread overview]
Message-ID: <20181127223847.3v2zaqq47ame724b@breakpoint.cc> (raw)
In-Reply-To: <20181127222237.GA103860@dev-dsk-alakeshh-2c-f8a3e6e0.us-west-2.amazon.com>

Alakesh Haloi <alakeshh@amazon.com> wrote:
> > But In case you can't reproduce, its possible your patch is still needed
> > for stable.
> 
> Thanks Florian! I have tested linus's tree and i do not see the issue happening
> there. I have not been able to test nf.git yet. Do you suggest that I should
> start working on backporting relevant patches from mainline or it should be
> possible to apply this patch to stable branches directly?

The relevant mainline fix is probably
b36e4523d4d56e2595e28f16f6ccf1cd6a9fc452
("netfilter: nf_conncount: fix garbage collection confirm race").

But
1. I don't like this fix (i could not come up with anything better...)
2. It will not apply to older stable branches.

So I think you might want to look at this commit, see if you have a
better idea, and if not, apply similar strategy to older stable kernel,
then pass this as a backport to stable maintainers.  I can review the
patch.

  reply	other threads:[~2018-11-28  9:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-19 22:17 [PATCH] netfilter: xt_connlimit: fix race in connection counting Alakesh Haloi
2018-11-20  7:48 ` Greg KH
2018-11-20  9:44   ` Pablo Neira Ayuso
2018-11-21  0:21     ` Alakesh Haloi
2018-11-21  0:51       ` Florian Westphal
2018-11-27 22:22         ` Alakesh Haloi
2018-11-27 22:38           ` Florian Westphal [this message]
2018-11-28 23:33             ` Alakesh Haloi
2018-11-29  0:28               ` Florian Westphal
2018-12-07  0:49                 ` Alakesh Haloi
2019-01-03  0:01                 ` Alakesh Haloi

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=20181127223847.3v2zaqq47ame724b@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=alakeshh@amazon.com \
    --cc=davem@davemloft.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=pablo@netfilter.org \
    --cc=stable@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.