Remove scope embedding in the lle/lltable code. This is part of the new routing KPI.
Submitted by: Neel Chauhan <neel AT neelc DOT org>
Differential D27112
WIP: Remove scope embedding in the lle/lltable code nc on Nov 6 2020, 3:42 AM. Authored by Tags None Referenced Files
Details
NOTE: This is a Work In Progress, and is probably incomplete.
Remove scope embedding in the lle/lltable code. This is part of the new routing KPI. Submitted by: Neel Chauhan <neel AT neelc DOT org>
Diff Detail
Event Timeline
Comment Actions Here's revision 2. TODO:
Comment Actions I do not see any mention of scopes in nhop_ctl (from your email), very less scope embedding. May I please know where the nexthop scope embedding code is located? Also, I don't know if I should touch lines 188-189's (get scope) in sys/netinet6/nd6.c? Comment Actions melifaro@ gave an explanation/clarification that this is much larger than originally anticipated. This patch is still a WIP, the RTAX_DST/RTAX_GATEWAY parts in rib_action() still needs to be done. Comment Actions Thank you for working on this! As a hint, netinet6/ and net/routing tests should give pretty good coverage on the affected areas. I typically run the following to check if something broke: kyua test -k /usr/tests/sys/netinet/Kyuafile kyua list -k /usr/tests/sys/netinet6/Kyuafile | grep -v frag6/ | grep -v exthdr | sudo xargs kyua test -k /usr/tests/sys/netinet6/Kyuafile kyua test -k /usr/tests/sys/net/routing/Kyuafile (assuming the tests are installed, which the below commands would do:) make -C tests/sys/netinet all install make -C tests/sys/netinet6 all install make -C tests/sys/net all install Comment Actions Sorry for the delay. @melifaro, In your email (back in 11/11/20), you mentioned:
The question is, in rib_action(), I don't see the on-stack variables. |