travelping / upg-vpp

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

Fix stopping random timers and warn about delayed URR timer events #286

Closed ivan4th closed 2 years ago

ivan4th commented 2 years ago

It's incorrect to try to stop an expired timer: https://www.mail-archive.com/vpp-dev@lists.fd.io/msg10495.html ... but that was happening with PFCP message timers. This could possibly lead to stopping random timers that are started in the same pfcp_process() loop iterations. Also, print warnings when URR events are delayed by more than 5s. This will make it possible to detect further URR timer problems without complicated examination of PFCP PCAPs.