[Top] [All Lists]

[PATCH] rtnl_unlock/lock in sch_api.c

To: netdev@xxxxxxxxxxx
Subject: [PATCH] rtnl_unlock/lock in sch_api.c
From: "Catalin(ux aka Dino) BOIE" <util@xxxxxxxxxxxxxxx>
Date: Mon, 28 Mar 2005 17:25:51 +0300 (EEST)
Cc: davem@xxxxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx

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.

Signed-off-by: Catalin(ux aka Dino) BOIE <catab at>

Please apply.


Catalin(ux aka Dino) BOIE
catab at

Attachment: rt_unlock_in_sch_api.patch
Description: Text document

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