| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] rtnl_unlock/lock in sch_api.c TRY2 |
| From: | "Catalin(ux aka Dino) BOIE" <util@xxxxxxxxxxxxxxx> |
| Date: | Tue, 29 Mar 2005 02:09:35 +0300 (EEST) |
| Cc: | davem@xxxxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
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. Signed-off-by: Catalin(ux aka Dino) BOIE <catab at umbrella.ro> Please apply. The patch is a rewrite of Dave's one with a small addition (module_put). Thanks for help goes to Dave, Thomas and Patrick. --- Catalin(ux aka Dino) BOIE catab at deuroconsult.ro http://kernel.umbrella.ro/
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: gcc confused about static inline. - route.c, cliff white |
|---|---|
| Next by Date: | [IPSEC] Move xfrm_flush_bundles into xfrm_state GC, Herbert Xu |
| Previous by Thread: | complie problem - zd1201.c, cliff white |
| Next by Thread: | Re: [PATCH] rtnl_unlock/lock in sch_api.c TRY2, Thomas Graf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |