gvisor/pkg/tcpip
Bhasker Hariharan 0eda0104a5 Fix data race in tcp_test.
This change makes SynRcvdCountThreshold and the global synRcvdCount into a stack
configurable value. This is required because in cases like mod_proxy which
create multiple Stack instances the count will be a global value that impacts
all Stack instances.

Further the tests relied on modifying the global threshold to simulate tests
where we want to verify SYN cookie based behaviour. This lead to data races due
to the global being modified/read without locks or atomics.

PiperOrigin-RevId: 306947723
2020-04-16 16:49:18 -07:00
..
adapters/gonet Mark gonet_test as flaky. 2020-03-12 13:11:48 -07:00
buffer Refactor software GSO code. 2020-04-03 18:35:55 -07:00
checker Reduce flakiness in tcp_test. 2020-04-14 19:33:35 -07:00
hash/jenkins Standardize on tools directory. 2020-01-27 12:21:00 -08:00
header Fix all printf formatting errors. 2020-04-08 10:14:34 -07:00
link Deduplicate packet logging 2020-04-15 11:02:30 -07:00
network Attempt SLAAC address regeneration on DAD conflicts 2020-04-14 18:32:35 -07:00
ports Standardize on tools directory. 2020-01-27 12:21:00 -08:00
sample Standardize on tools directory. 2020-01-27 12:21:00 -08:00
seqnum Standardize on tools directory. 2020-01-27 12:21:00 -08:00
stack Attempt SLAAC address regeneration on DAD conflicts 2020-04-14 18:32:35 -07:00
transport Fix data race in tcp_test. 2020-04-16 16:49:18 -07:00
BUILD Move tcpip.PacketBuffer and IPTables to stack package. 2020-03-24 09:06:26 -07:00
tcpip.go Fix data race in tcp_test. 2020-04-16 16:49:18 -07:00
tcpip_test.go Fix all printf formatting errors. 2020-04-08 10:14:34 -07:00
time.s Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
time_unsafe.go Initial network namespace support. 2020-02-20 15:20:40 -08:00
timer.go CancellableTimer to encapsulate the work of safely stopping timers 2020-01-08 17:50:54 -08:00
timer_test.go Put CancellableTimer tests in the tcpip_test package 2020-01-10 14:32:17 -08:00