diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-09-27 02:27:53 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-27 02:27:53 +0000 |
commit | 9177d7067f52b594767f6bf9e1b041ecd7c0d37e (patch) | |
tree | 957a0f8a7dc101e75a81cd3d825f63431c8a0545 /pkg/tcpip/network/arp | |
parent | 204ecb2a5c047371257eafcbeff7400cd22a4bc3 (diff) | |
parent | a376a0baf362506549fcc58861465fa89ed33f7f (diff) |
Merge release-20200921.0-52-ga376a0baf (automated)
Diffstat (limited to 'pkg/tcpip/network/arp')
-rw-r--r-- | pkg/tcpip/network/arp/arp.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pkg/tcpip/network/arp/arp.go b/pkg/tcpip/network/arp/arp.go index 81e286e80..cb9225bd7 100644 --- a/pkg/tcpip/network/arp/arp.go +++ b/pkg/tcpip/network/arp/arp.go @@ -238,12 +238,6 @@ func (*protocol) Parse(pkt *stack.PacketBuffer) (proto tcpip.TransportProtocolNu return 0, false, parse.ARP(pkt) } -// ReturnError implements stack.TransportProtocol.ReturnError. -func (*protocol) ReturnError(*stack.Route, tcpip.ICMPReason, *stack.PacketBuffer) *tcpip.Error { - // In ARP, there is no such response so do nothing. - return nil -} - // NewProtocol returns an ARP network protocol. func NewProtocol() stack.NetworkProtocol { return &protocol{} |