Merge pull request #17386 from opensourcerouting/fix/initialize_mbefore

lib: Initialize mbefore for route_map_apply_ext()
This commit is contained in:
Donald Sharp 2024-11-08 11:15:04 -05:00 committed by GitHub
commit b365b0ff24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2753,6 +2753,7 @@ route_map_apply_end:
}
if (map) {
GETRUSAGE(&mbefore);
GETRUSAGE(&mafter);
event_consumed_time(&mafter, &mbefore, &cputime);
map->cputime += cputime;