summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/threads.go
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2019-02-19 18:22:59 -0800
committerShentubot <shentubot@google.com>2019-02-19 18:23:54 -0800
commit3e3a1ef9d61fccf6d0d9a52f4e885a6e07a07609 (patch)
treeea2d0a5dcc2c90daaff0d427a33106b723a4f15a /pkg/sentry/kernel/threads.go
parentec2460b1890aa1dbf8bd84f11dbdb3758e2443b2 (diff)
Updates tcp_proxy to use an AF_PACKET and veth devices.
tcp_proxy now uses an AF_PACKET socket as the FD for netstack link layer endpoint instead of a tap device. It also changes the link layer endpoint to use PacketMMap dispatch instead of Readv. This reduces overall cpu and reflects the current runsc setup which uses PacketMMap and also uses veth devices to receive packets. Also fixed a bug in gonet where Read() was not doing coalescing read and would read small amounts at a time. PiperOrigin-RevId: 234714768 Change-Id: Idabf8e600e4512489d3ba441c4096dc74deba5d7
Diffstat (limited to 'pkg/sentry/kernel/threads.go')
0 files changed, 0 insertions, 0 deletions