diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2017-02-09 15:19:33 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2017-02-09 15:19:33 +0000 |
commit | 56f2e55e49aaf23d0837bf2acec5f2572233f640 (patch) | |
tree | bca8897ff05dee4c7ac5077623aa9297961a0c2c /sys/netinet6 | |
parent | db7e392b45e8f2dbbe7184dbe24a4b3c4600c1b0 (diff) |
percpu counters for TCP stats
ok mpi@ bluhm@
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/ip6_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index 3a11852780f..bf001ef675b 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_output.c,v 1.224 2017/02/05 16:04:14 jca Exp $ */ +/* $OpenBSD: ip6_output.c,v 1.225 2017/02/09 15:19:32 jca Exp $ */ /* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */ /* @@ -2718,7 +2718,7 @@ in6_proto_cksum_out(struct mbuf *m, struct ifnet *ifp) if (!ifp || !(ifp->if_capabilities & IFCAP_CSUM_TCPv6) || ip6->ip6_nxt != IPPROTO_TCP || ifp->if_bridgeport != NULL) { - tcpstat.tcps_outswcsum++; + tcpstat_inc(tcps_outswcsum); in6_delayed_cksum(m, IPPROTO_TCP); m->m_pkthdr.csum_flags &= ~M_TCP_CSUM_OUT; /* Clear */ } |