| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] rtnl_unlock/lock in sch_api.c TRY3 |
| From: | "Catalin(ux aka Dino) BOIE" <util@xxxxxxxxxxxxxxx> |
| Date: | Thu, 31 Mar 2005 23:11:06 +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 under 2.6.11.6. Signed-off-by: Catalin(ux aka Dino) BOIE <catab at umbrella.ro> Please apply. The patch is a rewrite of Dave's one with small additions (module_put in and dev_put out). 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: | [RFC] netif_rx: receive path optimization, Stephen Hemminger |
|---|---|
| Next by Date: | [PATCH REPOST 2.6.11-rc4-netdev1] bonding: don't drop non-VLAN traffic, Jay Vosburgh |
| Previous by Thread: | RE: [PATCH 2.6.11.6-bk2] e100: Use EEPROM config for Auto MDI/MDI-X, Venkatesan, Ganesh |
| Next by Thread: | Re: [PATCH] rtnl_unlock/lock in sch_api.c TRY3, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |