summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/tools
diff options
context:
space:
mode:
authorPatrice Buriez <patrice.buriez@intel.com>2018-07-07 14:03:32 +0200
committerPatrice Buriez <patrice.buriez@intel.com>2018-07-07 14:03:32 +0200
commit2e924e65c5ac509925bc5a28b724db108fe99111 (patch)
tree021905fcb10fa77918e8bf757f8feeec6fe0bf73 /VNFs/DPPD-PROX/tools
parent247bf8232dacf0108eb46efe8cf2151bbf855b8a (diff)
Fix potential crash with latency accuracy
Detect, remember and skip bad/unexpected packets: - too short to hold the latency-related values - with bad signature - with invalid generator_id using a uint64_t-based bitmap. Also moved variable declarations closer to usage, added some likely/unlikely hints, reworked some return statements, and fixed 32-bit overflow (every ~4s) of rx_time_err computation. Change-Id: Ib2aadc1af6b7a68601cc080ba66b10d41ff9a64e Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/tools')
0 files changed, 0 insertions, 0 deletions