gvisor/pkg/tcpip
Amanda Tait c14a1a1618 Fix race condition in NIC.DeliverNetworkPacket
cl/234850781 introduced a race condition in NIC.DeliverNetworkPacket
by failing to hold a lock. This change fixes this regressesion by acquiring
a read lock before iterating through n.endpoints, and then releasing the lock
once iteration is complete.

PiperOrigin-RevId: 235549770
Change-Id: Ib0133288be512d478cf759c3314dc95ec3205d4b
2019-02-25 10:02:29 -08:00
..
adapters/gonet Updates tcp_proxy to use an AF_PACKET and veth devices. 2019-02-19 18:23:54 -08:00
buffer Remove license comments 2019-01-31 11:12:53 -08:00
checker Remove license comments 2019-01-31 11:12:53 -08:00
hash/jenkins Remove license comments 2019-01-31 11:12:53 -08:00
header Remove license comments 2019-01-31 11:12:53 -08:00
link Add support for using PACKET_RX_RING to receive packets. 2019-02-13 14:53:03 -08:00
network Rename ping endpoints to icmp endpoints. 2019-02-22 13:34:47 -08:00
ports Remove license comments 2019-01-31 11:12:53 -08:00
sample Remove license comments 2019-01-31 11:12:53 -08:00
seqnum Remove license comments 2019-01-31 11:12:53 -08:00
stack Fix race condition in NIC.DeliverNetworkPacket 2019-02-25 10:02:29 -08:00
transport Rename ping endpoints to icmp endpoints. 2019-02-22 13:34:47 -08:00
BUILD Remove license comments 2019-01-31 11:12:53 -08:00
tcpip.go Implement Broadcast support 2019-02-20 12:54:13 -08:00
tcpip_test.go
time.s
time_unsafe.go