-
Notifications
You must be signed in to change notification settings - Fork 8.2k
net: ip: route: Add support to search mcast route by interface #98464
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
net: ip: route: Add support to search mcast route by interface #98464
Conversation
subsys/net/ip/route.c
Outdated
| } | ||
|
|
||
| ARRAY_FOR_EACH(route->ifaces, i) { | ||
| if (!route->ifaces[i] || route->ifaces[i] != iface) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Misra
| if (!route->ifaces[i] || route->ifaces[i] != iface) { | |
| if (route->ifaces[i] == NULL || route->ifaces[i] != iface) { |
2491078 to
3af27b2
Compare
pdgendt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing some tests?
added test case for this new added function |
|
How could my new added test case affect |
It didn't, it's just some regression that slipped into |
This commit adds the possibility to check for a multicast route on a given interface Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
Adding test case to validate new added function, `net_route_mcast_lookup_by_iface` Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
254d0da to
40aa6a2
Compare
|
Rebased. |
|
|
Should this have a 4.4 milestone? |
This commit makes use of zephyrproject-rtos#98464 and deletes a multicast route by specified interface. Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
This commit makes use of zephyrproject-rtos#98464 and deletes a multicast route by specified interface. Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
This commit makes use of zephyrproject-rtos#98464 and deletes a multicast route by specified interface. Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
This commit makes use of #98464 and deletes a multicast route by specified interface. Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>



This commit adds the possibility to check for a multicast route on a given interface
Related to #98290, #98290 (comment)