netdev
[Top] [All Lists]

Re: [PATCH] rtnl_unlock/lock in sch_api.c TRY3

To: "Catalin(ux aka Dino) BOIE" <util@xxxxxxxxxxxxxxx>
Subject: Re: [PATCH] rtnl_unlock/lock in sch_api.c TRY3
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Thu, 31 Mar 2005 20:39:19 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.62.0503312309160.3390@xxxxxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.62.0503312309160.3390@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 31 Mar 2005 23:11:06 +0300 (EEST)
"Catalin(ux aka Dino) BOIE" <util@xxxxxxxxxxxxxxx> wrote:

> Hello!
> 
> Trying to load a custom module (same for teql but I didn't tried it)
> whan the qdisc module is not loaded, makes tc hang.
> This is because qdisc_create aquires rtnl_sem and then tries to load a module 
> that tries to register_netdev (that tries to aquire the same rtnl_sem).
> Applying this patch makes the problem go away.
> 
> The patch was tested under 2.6.11.6.
> 
> Signed-off-by: Catalin(ux aka Dino) BOIE <catab at umbrella.ro>
> 
> Please apply.

Looks good, applied, thanks Catalin.

<Prev in Thread] Current Thread [Next in Thread>