#
350efd1c |
| 03-Feb-2024 |
Aaron LI <aly@aaronly.me> |
wg: Flush v4 routes for v6 randomized test to reduce the test time
The validation method uses a simple list to store all the routes in a sorted way so that it can be looked up and verify the lookup
wg: Flush v4 routes for v6 randomized test to reduce the test time
The validation method uses a simple list to store all the routes in a sorted way so that it can be looked up and verify the lookup results of the radix tree. The list method can be really slow when there are many routes, so the randomized test can take ~80 minutes on my test box. Separate the v4 and v6 tests to significantly reduce the test time (e.g., from ~80 minutes to ~15 minutes).
show more ...
|
#
4c074b47 |
| 27-Jan-2024 |
Aaron LI <aly@aaronly.me> |
wg: Refactor selftest allowedips.c
- Refactor multiple functions and macros to make the implementation read better. - Fix some memory free issues upon errors; e.g., kfree() panics if the given p
wg: Refactor selftest allowedips.c
- Refactor multiple functions and macros to make the implementation read better. - Fix some memory free issues upon errors; e.g., kfree() panics if the given pointer is NULL. - Add progress reports for the randomized test as it can take really long time (e.g., ~80 minutes on my test box). - Various improvements and style cleanups.
show more ...
|