BFD: handle timing wheel prematurely firing events
authorKlement Sekera <[email protected]>
Thu, 8 Dec 2016 04:19:14 +0000 (05:19 +0100)
committerDamjan Marion <[email protected]>
Fri, 9 Dec 2016 20:10:02 +0000 (20:10 +0000)
commit637b9c453161bfd551e0c04db78109d3d452a69a
treed86c56ad644347e73a3cc495abbd230139a04dc8
parent0279b29f327c15a1c6b2d8ede228790c1a7d3814
BFD: handle timing wheel prematurely firing events

Improve handling of timeouts. Add a workaround for when timing wheel
fires an event a tiny amount of time before it should actually be
fired.  Don't delete unneeded events at all from timing wheel, instead
ignoring unexpected events. Enable the skipped BFD test, which passes
now.

Change-Id: I6ffd4fc0ba7a049ffe63bb0e5290641a7300dd6f
Signed-off-by: Klement Sekera <[email protected]>
test/test_bfd.py
vnet/vnet/bfd/bfd_debug.h
vnet/vnet/bfd/bfd_main.c
vnet/vnet/bfd/bfd_main.h
vnet/vnet/bfd/bfd_udp.c