summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/udp6_usrreq.c
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2013-06-20 09:55:53 +0000
committerae <ae@FreeBSD.org>2013-06-20 09:55:53 +0000
commit1e4c88cc8b89f670f8e6f11dd0db6d4cc0f53c16 (patch)
treea157f9c42f0efea665bf8a24f6e83ac24e7980a3 /sys/netinet6/udp6_usrreq.c
parent10da02bc8d0c85c86d78640dee43641acfc687aa (diff)
downloadFreeBSD-src-1e4c88cc8b89f670f8e6f11dd0db6d4cc0f53c16.zip
FreeBSD-src-1e4c88cc8b89f670f8e6f11dd0db6d4cc0f53c16.tar.gz
Use IPSECSTAT_INC() and IPSEC6STAT_INC() macros for ipsec statistics
accounting. MFC after: 2 weeks
Diffstat (limited to 'sys/netinet6/udp6_usrreq.c')
-rw-r--r--sys/netinet6/udp6_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
index 200fd68..1f0d52c 100644
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -141,7 +141,7 @@ udp6_append(struct inpcb *inp, struct mbuf *n, int off,
/* Check AH/ESP integrity. */
if (ipsec6_in_reject(n, inp)) {
m_freem(n);
- V_ipsec6stat.in_polvio++;
+ IPSEC6STAT_INC(in_polvio);
return;
}
#endif /* IPSEC */
OpenPOWER on IntegriCloud