Re: Patch "netfilter: on sockopt() acquire sock lock only in the required scope" has been added to the 4.14-stable tree

Paolo Abeni
2018-02-23T08:28:37Z

Hi,

On Thu, 2018-02-22 at 22:13 +0100, gregkh@linuxfoundation.org wrote:
> This is a note to let you know that I've just added the patch titled
>
> netfilter: on sockopt() acquire sock lock only in the required scope
>
> to the 4.14-stable tree which can be found at:
> http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
>
> The filename of the patch is:
> netfilter-on-sockopt-acquire-sock-lock-only-in-the-required-scope.patch
> and it can be found in the queue-4.14 subdirectory.
>
> If you, or anyone else, feels it should not be added to the stable tree,
> please let <stable@vger.kernel.org> know about it.

This has 2 required follow-up:

commit dfec091439bb2acf763497cfc58f2bdfc67c56b7
Author: Paolo Abeni <pabeni@redhat.com>
Date: Thu Feb 15 16:59:49 2018 +0100

dn_getsockoptdecnet: move nf_{get/set}sockopt outside sock lock

and:

commit 01ea306f2ac2baff98d472da719193e738759d93
Author: Paolo Abeni <pabeni@redhat.com>
Date: Thu Feb 8 12:19:00 2018 +0100

netfilter: drop outermost socket lock in getsockopt()

I suggest to pull these 3 patches together. My bad: I was unable to
provide a complete fix in a single shot.

Thanks,

Paolo