diff options
author | Xavier Simonart <xavier.simonart@intel.com> | 2017-12-06 16:54:05 +0100 |
---|---|---|
committer | Xavier Simonart <xavier.simonart@intel.com> | 2017-12-06 17:44:10 +0100 |
commit | 2a3f72a8f9d00f4ffd0a9727d7854ebae740bcd0 (patch) | |
tree | a9294361bb3e9b3613e5bf14032876ec64bbf424 /VNFs/DPPD-PROX/stats_latency.c | |
parent | e430f537cad603a131034d01068af7757142743d (diff) |
Fix checks done when changing generator pkt_size
Different checks were done when setting the generator pkt_size.
In case of wrong pkt_size (e.g. too big) an error was printed but
the pkt_size was still set causing a potential corruption.
In addition, in case of a packet size incompatible with some
of the packet fields (e.g. latency data) PROX was panicing
while this should not happen runtime for such an error.
Change-Id: Ifa11475bf295aaac7b0255c1bf9b5feed8ef90c4
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/stats_latency.c')
0 files changed, 0 insertions, 0 deletions