Giter VIP home page Giter VIP logo

Comments (3)

T-X avatar T-X commented on June 22, 2024

On a 32bit armhf/ARMv7 device (Odroid U3) with a 4.19.28 kernel as provided by Debian Sid both "granularity 1" and "granularity 5" seemed to transmit MLD queries in regular intervals. We were not able to reproduce the issue on my side yet.

from pim6sd.

troglobit avatar troglobit commented on June 22, 2024

This is serious, the default is 5 seconds ... I've seen similar issues in pimd and mrouted, which use the same pattern for their timer handling. I'll look into it!

Update: pimd has the same 5 second granularity, but it's hard-coded and cannot be configured like in pim6sd. The code seems to be similar, if not identical. I'll add some debug messages from pimd to increase the observability a bit.

from pim6sd.

troglobit avatar troglobit commented on June 22, 2024

OK, there's one case when pim6sd will wait "forever", i.e. call select() with NULL as timeout. That's when there is no timers to service, typically when there are more than one router on a link and ours is not the elected querier. In that case pim6sd will wait for the next incoming message before it wakes up.

There should at least be a router/querier timeout, in case the neighboring (elected) querier stops sending queries. So that seems to be a bug/omission.

Update: Nah, my bad. There's a MLD6_OTHER_QUERIER_PRESENT_INTERVAL timer to handle that, default 255 sec.

from pim6sd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.