Fix a bug in the timing wheel 81/3781/3
authorKlement Sekera <[email protected]>
Fri, 11 Nov 2016 04:58:10 +0000 (05:58 +0100)
committerDave Barach <[email protected]>
Sat, 12 Nov 2016 03:13:12 +0000 (03:13 +0000)
commite5af88c8205f4615e86f333bfd837d7a1cc97c7d
treed62a365aa87476b89337f5fda4a576080d27647a
parent7f3c36bb852017c2edbeb609a5e10446a7605157
Fix a bug in the timing wheel

Properly propagate vector allocated in advance_cpu_time_base() for a
special case, when the expired_user_data parameter passed to
timing_wheel_advance() is NULL and the only expired event is in the
overflow pool.

Change-Id: I5cefab0e881958334791aaa6354ec08225af23c1
Signed-off-by: Klement Sekera <[email protected]>
vppinfra/vppinfra/timing_wheel.c