diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-09-18 18:16:20 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-18 18:16:20 +0000 |
commit | 1b75140844fb3973996b52384778fd0567ccf895 (patch) | |
tree | 5d709af57bf4f032c418970f59715b78d0a82bfc /pkg/tcpip/stack/nic.go | |
parent | 6361695629183cdb80f0afb0dfc47b048e5e6c17 (diff) | |
parent | bd69afdcd1c9303602aadce9e59aecff3eb7b9c8 (diff) |
Merge release-20200907.0-145-gbd69afdcd (automated)
Diffstat (limited to 'pkg/tcpip/stack/nic.go')
-rw-r--r-- | pkg/tcpip/stack/nic.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/stack/nic.go b/pkg/tcpip/stack/nic.go index 821d3feb9..204bfc433 100644 --- a/pkg/tcpip/stack/nic.go +++ b/pkg/tcpip/stack/nic.go @@ -1289,6 +1289,7 @@ func (n *NIC) DeliverNetworkPacket(remote, local tcpip.LinkAddress, protocol tcp address := n.primaryAddress(protocol) if ok := ipt.Check(Prerouting, pkt, nil, nil, address.Address, ""); !ok { // iptables is telling us to drop the packet. + n.stack.stats.IP.IPTablesPreroutingDropped.Increment() return } } |