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

Subject: Re: [PATCH] Deadlock under Linux 2.4
From: Florian Friesdorf <42ff,AT,gmx,DOT,net>
Date: Sat, 28 Oct 2000 22:46:00 +0200
In-reply-to: <E13mECN-0001Wa-00@g212.hadiko.de>

On Fri, Oct 20, 2000 at 12:52:15PM +0200, Olaf Titz wrote:
> 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 ===

Hi Olaf,

I applied both of your patches to cipe-1.4.3 and at least one cipe tunnel
works without any error messages.

Now the problem is when starting a second tunnel it fails.
With debug option set (in config file) I don't get any output.

When changing the order, again the new second one fails.

Is it possible, there's something preventing a second cipe interface.
btw: the module is loaded with cipe_maxdev=4

thanks for your work
florian

-- 
     Florian Friesdorf <42ff,AT,gmx,DOT,net>
OpenPGP key available on public key servers

------> Save the future of Open Source <------
-> Online-Petition against Software Patents <-
------> http://petition.eurolinux.org <-------

Attachment: pgp00000.pgp
Description: "PGP signature"


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