diff options
author | Arthur Sfez <asfez@google.com> | 2020-09-30 15:08:00 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-30 15:09:38 -0700 |
commit | 7f9e13053e84b82c67c12a4964fa4703ebaa571f (patch) | |
tree | cafedcfbaff52310d1ab239008c704467f06be1a /pkg/test/dockerutil | |
parent | 38704d9b667b9ebabc3f694a6508b37ead567b6f (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/test/dockerutil')
0 files changed, 0 insertions, 0 deletions