[radvd-devel-l] Linux infinite loop if interface goes down

Reuben Hawkins reubenhwk at gmail.com
Mon Aug 24 20:38:37 EDT 2009

Hi Teemu,

I had the same issue.  I downloaded the code for v1.4 and fixed that
problem, but my changes were rather drastic.  I removed the timer code
and did the waiting with select (rather than a timer).  I also broke
some things in the process, but the attached won't hang plus it still
gets the job done.  The only thing I know I broke was the random
mdelay feature.

I hope this helps.


On Mon, Aug 24, 2009 at 3:45 PM, Teemu Torma<teemu at torma.org> wrote:
> I have an issue with radvd on Linux where radvd goes to infinite loop when a
> network cable is disconnected and reconnected, or the interface is brought
> down and up again.
> The machine running radvd has four interfaces for radvd announcements and I
> have had this issue for many years, I don't even remember when I started using
> radvd.  I am currently running radvd 1.1 in Ubuntu Jaunty.
> The infinite loop happens in set_timer function — the while loop never
> finishes, and this is reproducible every single time.  I have attached a log
> with debug level 5 with comments when eth1 was disconnected and reconnected.
> Regards,
> Teemu
> --
> radvd-devel-l mailing list  :  radvd-devel-l at litech.org
> http://lists.litech.org/listinfo/radvd-devel-l
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radvd-reu3.tar.gz
Type: application/x-gzip
Size: 349882 bytes
Desc: not available
Url : http://lists.litech.org/pipermail/radvd-devel-l/attachments/20090824/12116239/attachment-0001.bin 

More information about the radvd-devel-l mailing list