travelping / upg-vpp

User Plane Gateway (UPG) based on VPP
Apache License 2.0
148 stars 51 forks source link

switch to UPF specific timer wheel implementation #341

Closed RoadRunnr closed 1 year ago

RoadRunnr commented 1 year ago

Decouple memory management for the timer handlers from the start/stop logic.

Handles must now be allocated before they can be started and they are no longer automatically freed when stopped. Reusing handles for restarting or changing the timer is now possible.

This solves the problem that handles could accidentally reused.

RoadRunnr commented 1 year ago

also fixed the commit message