From 6e83c4b751c60652247d0ebbe559261352b2131f Mon Sep 17 00:00:00 2001 From: Ghanan Gowripalan Date: Fri, 1 Oct 2021 13:35:04 -0700 Subject: Drop conn.tcbHook ...as the packet's direction gives us the information that tcbHook is used to derive. PiperOrigin-RevId: 400280102 --- pkg/tcpip/stack/iptables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/tcpip/stack/iptables.go') diff --git a/pkg/tcpip/stack/iptables.go b/pkg/tcpip/stack/iptables.go index dcba7eba6..a20bef3c5 100644 --- a/pkg/tcpip/stack/iptables.go +++ b/pkg/tcpip/stack/iptables.go @@ -388,7 +388,7 @@ func (it *IPTables) check(hook Hook, pkt *PacketBuffer, r *Route, addressEP Addr // binding is created: this usually does not map the packet, but exists // to ensure we don't map another stream over an existing one." if shouldTrack { - it.connections.maybeInsertNoop(pkt, hook) + it.connections.maybeInsertNoop(pkt) } // Every table returned Accept. -- cgit v1.2.3