<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: [PATCH] Deadlock under Linux 2.4
From: Olaf Titz <olaf,AT,bigred,DOT,inka,DOT,de>
Date: Fri, 20 Oct 2000 13:10:51 +0200
In-reply-to: <E13mECN-0001Wa-00@g212.hadiko.de>

In article <Pine.LNX.4.21.0010191925450.3021-100000,AT,uyema,DOT,net> you 
write:
> I build cipe-1.4.3 with your patch, and load it in 2.4.0-test9:
> cipcb: CIPE driver vers 1.4.3 (c) Olaf Titz 1996-2000, 100 channels, debug=8
> RTNL: assertion failed at devinet.c(775):inetdev_event
> I haven't started the ciped-cb daemon yet, and I'm afraid to =)

To the best of my knowledge the message is mostly harmless, it just
warns about a possible race condition. It does however tell me there's
a bug left in the driver. :-)

Olaf

--- device.c~   Thu Oct 19 13:11:36 2000
+++ device.c    Fri Oct 20 12:40:12 2000
@@ -618,7 +618,10 @@
         return 0;
     }
 #else
-    return cipe_alloc_dev(0);
+    rtnl_LOCK();
+    e=cipe_alloc_dev(0);
+    rtnl_UNLOCK();
+    return e;
 #endif
 }

=== end of patch ===





<< | Thread Index | >> ]    [ << | Date Index | >> ]