[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20071019.013405.64830631.davem@davemloft.net>
Date: Fri, 19 Oct 2007 01:34:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: jdelvare@...e.de, netdev@...r.kernel.org, kuznet@....inr.ac.ru
Subject: Re: [PATCH 1/2] net: Let inet_diag and friends autoload
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Fri, 19 Oct 2007 16:21:23 +0800
> David Miller <davem@...emloft.net> wrote:
> >
> > I'm concerned it might be dangerous to load the module in
> > this context, the RTNL semaphore is held and the module we
> > are requesting could easily try to take it and deadlock.
>
> We shouldn't be holding the RTNL here. AFAICS we only hold
> inet_diag_mutex which is used in just one spot.
You're right.
I'll reconsider these patches.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists