c882eb5448
In pcap_tsc_to_ns(), delta * NSEC_PER_SEC will overflow approx 8
seconds after pcap_init is called when using a TSC with a frequency
of 2.5GHz.
To avoid the overflow, update the saved time and TSC value once
delta >= tsc_hz.
Fixes:
|
||
---|---|---|
.. | ||
meson.build | ||
pcapng_proto.h | ||
rte_pcapng.c | ||
rte_pcapng.h | ||
version.map |