public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: David Miller <davem@davemloft.net>,
	Patrick McHardy <kaber@trash.net>,
	netdev <netdev@vger.kernel.org>,
	Remi Denis-Courmont <remi.denis-courmont@nokia.com>
Subject: Re: [PATCH net-next-2.6] net: dont hold rtnl mutex during netlink dump callbacks
Date: Thu, 28 Apr 2011 08:40:48 -0700	[thread overview]
Message-ID: <20110428084048.532d84e6@nehalam> (raw)
In-Reply-To: <1303980967.3360.60.camel@edumazet-laptop>

On Thu, 28 Apr 2011 10:56:07 +0200
Eric Dumazet <eric.dumazet@gmail.com> wrote:

> @@ -1980,7 +1978,7 @@ static int __net_init rtnetlink_net_init(struct net *net)
>  {
>  	struct sock *sk;
>  	sk = netlink_kernel_create(net, NETLINK_ROUTE, RTNLGRP_MAX,
> -				   rtnetlink_rcv, &rtnl_mutex, THIS_MODULE);
> +				   rtnetlink_rcv, NULL, THIS_MODULE);

Looks like only genetlink is still using the mutex argument.

  reply	other threads:[~2011-04-28 15:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-28  8:56 [PATCH net-next-2.6] net: dont hold rtnl mutex during netlink dump callbacks Eric Dumazet
2011-04-28 15:40 ` Stephen Hemminger [this message]
2011-04-28 15:43 ` Stephen Hemminger
2011-04-28 15:53   ` Eric Dumazet
2011-05-02 22:27   ` David Miller
2011-05-17 22:18     ` [PATCH net-next-2.6] net: add rcu protection to netdev->ifalias Eric Dumazet
2011-05-17 22:25       ` Stephen Hemminger
2011-05-17 22:39         ` Eric Dumazet
2011-05-18  4:35           ` Eric Dumazet

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=20110428084048.532d84e6@nehalam \
    --to=shemminger@vyatta.com \
    --cc=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=kaber@trash.net \
    --cc=netdev@vger.kernel.org \
    --cc=remi.denis-courmont@nokia.com \
    /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