summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/hostcpu/hostcpu_test.go
diff options
context:
space:
mode:
authorArthur Sfez <asfez@google.com>2020-09-30 15:08:00 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-30 15:09:38 -0700
commit7f9e13053e84b82c67c12a4964fa4703ebaa571f (patch)
treecafedcfbaff52310d1ab239008c704467f06be1a /pkg/sentry/hostcpu/hostcpu_test.go
parent38704d9b667b9ebabc3f694a6508b37ead567b6f (diff)
Count IP OutgoingPacketErrors in the NetworkEndpoint methods
Before this change, OutgoingPacketErrors was incremented in the stack.Route methods. This was going to be a problem once IPv4/IPv6 WritePackets support fragmentation because Route.WritePackets might now know how many packets are left after an error occurs. Test: - pkg/tcpip/network/ipv4:ipv4_test - pkg/tcpip/network/ipv6:ipv6_test PiperOrigin-RevId: 334687983
Diffstat (limited to 'pkg/sentry/hostcpu/hostcpu_test.go')
0 files changed, 0 insertions, 0 deletions