[Babel-users] setsockopt(IPV6_JOIN_GROUP): Cannot allocate memory

Juliusz Chroboczek jch at pps.univ-paris-diderot.fr
Sat Feb 1 20:37:02 UTC 2014


> re6stnet deletes tap interfaces that are unused for too long time,
> and recreate them when necessary: this is mainly cosmetic.  During
> its lifetime, the number of different indexes (of interfaces) babeld
> sees is indeed infinite.

I hope you mean unbounded ;-)

> So probably a bug either in kernel or in babeld: shouldn't
> IPV6_DROP_MEMBERSHIP be done for deleted interface ?

I was assuming it happens automatically.  I'll have a look to see if
it's legal to call the setsockopt on a deleted interface.

> In re6stnet, the algorithm to clean up taps was buggy. Interfaces
> were deleted too quickly, making the leak more important.  The
> workaround was to disable this completely:

I'm glad you could work around your issue.

-- Juliusz



More information about the Babel-users mailing list