diff options
author | Zeling Feng <zeling@google.com> | 2020-11-24 13:39:39 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-24 13:42:07 -0800 |
commit | d492b21319676bc9a9f97b9633b3be387c0b60a5 (patch) | |
tree | 77d26b346ed6071add162c11ee852137845227ed /images/BUILD | |
parent | 732e98985546958fdab8ae3d49e36f17ae89f71c (diff) |
Fix a potential indefinite blocking in packetimpact testbench
1. setsockopt(SO_RCVTIMEO, 0) == never timeout
2. float64(time.Microsecond/time.Second) == 0
3. packetimpact tests use a lot of 1s timeouts
This becomes a more significant problem because of a recent change that binds
the sniffer only on the specific testNet interface so now the traffic on the
ctrlNet cannot wake up the blocking call anymore.
PiperOrigin-RevId: 344123465
Diffstat (limited to 'images/BUILD')
0 files changed, 0 insertions, 0 deletions