netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steffen Klassert <steffen.klassert@secunet.com>
To: David Miller <davem@davemloft.net>
Cc: <edumazet@google.com>, <netdev@vger.kernel.org>
Subject: Re: [PATCH net 1/2] xfrm: add rcu grace period in xfrm_policy_destroy()
Date: Thu, 10 Dec 2015 13:34:22 +0100	[thread overview]
Message-ID: <20151210123422.GA29565@gauss.secunet.com> (raw)
In-Reply-To: <20151208.225829.122422778076120961.davem@davemloft.net>

On Tue, Dec 08, 2015 at 10:58:29PM -0500, David Miller wrote:
> From: Eric Dumazet <edumazet@google.com>
> Date: Tue,  8 Dec 2015 07:22:01 -0800
> 
> > We will soon switch sk->sk_policy[] to RCU protection,
> > as SYNACK packets are sent while listener socket is not locked.
> > 
> > This patch simply adds RCU grace period before struct xfrm_policy
> > freeing, and the corresponding rcu_head in struct xfrm_policy.
> > 
> > Signed-off-by: Eric Dumazet <edumazet@google.com>
> 
> I'll give Steffen an opportunity to review these two patches.

Looks ok and survived some tests with socket policies.

If you want to take these direct into the net tree:

Acked-by: Steffen Klassert <steffen.klassert@secunet.com>

  reply	other threads:[~2015-12-10 12:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08 15:22 [PATCH net 1/2] xfrm: add rcu grace period in xfrm_policy_destroy() Eric Dumazet
2015-12-08 15:22 ` [PATCH net 2/2] xfrm: add rcu protection to sk->sk_policy[] Eric Dumazet
2015-12-09  3:58 ` [PATCH net 1/2] xfrm: add rcu grace period in xfrm_policy_destroy() David Miller
2015-12-10 12:34   ` Steffen Klassert [this message]
2015-12-12  0:22     ` David Miller

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=20151210123422.GA29565@gauss.secunet.com \
    --to=steffen.klassert@secunet.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=netdev@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 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).