-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
EDP_MULTICAST_ADDR in edp.h seems not a multicast address #442
Comments
Humm, this was never reported until now and it works as expected in software: Linux does not really care that the MAC address is multicast or not and the NIC is listening to this MAC address as a result of the registration. On Linux, it is possible to add more MAC addresses through Netlink with recent kernels. And I need to find the equivalent for other OS. |
If the main problem is only the crash, can you provide a coredump? |
It doesn't crash, just kernel error |
It seems to be NIC driver specific, most driver won't care whether it's a multicast address except FSL DPAA SDK |
Does EDP work? If not, can you try to use |
I don't know, I encountered this problem simply because it's default enabled in OpenWRT, although I don't think so because I had a glance to driver source which takes no further action but returned error. |
Is EDP enabled by default? |
After thinking a bit about it, I have decided to not implement it because:
|
I see, indeed OpenWRT should not enable this by default |
Bug description
Lldpd will call SIOCADDMULTI ioctl to add multicast address which is not really a multicast address when EDP enabled.
Steps to reproduce the problem
Platform specific, start LLDPD with edp enabled, some ethernet driver will complain not a multicast address
Expected outcome
lldpd started with no error
Current outcome
After executing the above steps,
lldpd
crashed. Here is the end ofthe output of
lldpd -ddddd
before the crash:Additional information
Spotted on version 1.0.3, and still exists in master
The text was updated successfully, but these errors were encountered: