-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing multicast routes with smcroutectl del does not work #167
Comments
There has been a slight change in semantics, maybe that is what is happening here? A call to |
Here are some debug logs:
What surprises me is that I see contradicting log messages. It talks about "deleting route from wlan0" but then adds a route to VIF0 (could be a typo in the log message though).
|
I think I don't understand your comment about the remaining stop route. The sequence of executed commands during test execution is:
|
Yeah that doesn't look right at all :-/ Thanks, I've reproduced locally and will add another test case for this based on https://salsa.debian.org/debian/smcroute/-/blob/master/debian/tests/mr-cache-ipv4 -- I'll see if I can find some time later tonight to investigate. |
Seems to be isolated to removing routes at runtime (IPC add/del), reloading .conf files with single route removed or interfaces changed are not affected. |
This patch adds two new tests designed to mimic the following Debian tests: mr-cache-ipv4 and mr-cache-ipv6. In particular, mrcache.sh has been used to reproduce issue #167. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
There, should be fixed in 2b81485. With this I think it's better to do another patch release, rather than your having to backport yet another fix. I need it anyway to push downstream to Buildroot. Thanks for taking the time to report and explain it to me! I was heavily inspired by the Debian tests when I added the test suite during the summer, yet I somehow never added this set of basic tests. This has now been remedied in |
Looking at the autopkgtest in the Debian packaging for the 2.5.2 release, the removal of multicast routes seems to be unreliable now:
Running
smcroutectl flush
didn't help:After waiting a few minutes, the routing cache clears itself without any action.
Also the corresponding IPv6 test is failing in the same way.
Expectation
Running
scmroutectl remove ...
removes the matching route immediately, as it was the case with smcroute 2.4.4, where this very same test is passing.The text was updated successfully, but these errors were encountered: