All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Kirill Tkhai <ktkhai@virtuozzo.com>, netdev@vger.kernel.org
Cc: davem@davemloft.net, ebiederm@xmission.com
Subject: Re: [PATCH] net: Convert atomic_t net::count to refcount_t
Date: Fri, 12 Jan 2018 07:53:55 -0800	[thread overview]
Message-ID: <1515772435.131759.35.camel@gmail.com> (raw)
In-Reply-To: <151577086012.22020.9600397187098638726.stgit@localhost.localdomain>

On Fri, 2018-01-12 at 18:28 +0300, Kirill Tkhai wrote:
> Since net could be obtained from RCU lists,
> and there is a race with net destruction,
> the patch converts net::count to refcount_t.
> 
> This provides sanity checks for the cases of
> incrementing counter of already dead net,
> when maybe_get_net() has to used instead
> of get_net().
> 
> Drivers: allyesconfig and allmodconfig are OK.
> 
> Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
> Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
> ---

Is this patch targeting net or net-next tree ?

Thanks for doing that Kirill

Reviewed-by: Eric Dumazet <edumazet@google.com>

  reply	other threads:[~2018-01-12 15:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-12 15:28 [PATCH] net: Convert atomic_t net::count to refcount_t Kirill Tkhai
2018-01-12 15:53 ` Eric Dumazet [this message]
2018-01-12 15:56   ` Kirill Tkhai
2018-01-15 19:23 ` 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=1515772435.131759.35.camel@gmail.com \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=ebiederm@xmission.com \
    --cc=ktkhai@virtuozzo.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 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.